From 42a21284778f3203d96133f74b0f846cd1567958 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Sat, 11 May 2019 00:44:22 -0700 Subject: [PATCH] [config] Disbale getenv() and atexit() if HB_LEAN Part of https://github.com/harfbuzz/harfbuzz/issues/1652 --- src/hb-config.hh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/hb-config.hh b/src/hb-config.hh index 087e669c9..2eada9877 100644 --- a/src/hb-config.hh +++ b/src/hb-config.hh @@ -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