[config] Disbale getenv() and atexit() if HB_LEAN

Part of https://github.com/harfbuzz/harfbuzz/issues/1652
This commit is contained in:
Behdad Esfahbod 2019-05-11 00:44:22 -07:00
parent fca2786041
commit 42a2128477
1 changed files with 2 additions and 0 deletions

View File

@ -42,8 +42,10 @@
#ifdef HB_LEAN
#define HB_DISABLE_DEPRECATED
#define HB_NO_ATEXIT
#define HB_NO_BITMAP
#define HB_NO_CFF
#define HB_NO_GETENV
#define HB_NO_MATH
#define HB_NO_OT_LAYOUT_UNUSED
#endif