Remove HB_NO_OPTIONS in favor of HB_NO_GETENV
authorBehdad Esfahbod <behdad@behdad.org>
Mon, 6 May 2019 19:16:51 +0000 (12:16 -0700)
committerBehdad Esfahbod <behdad@behdad.org>
Mon, 6 May 2019 19:16:51 +0000 (12:16 -0700)
Part of https://github.com/harfbuzz/harfbuzz/issues/1652

src/hb-debug.hh

index 0069605..e5328e9 100644 (file)
@@ -63,7 +63,7 @@ extern HB_INTERNAL hb_atomic_int_t _hb_options;
 static inline hb_options_t
 hb_options ()
 {
-#if defined(HB_NO_OPTIONS)
+#if defined(HB_NO_GETENV)
   return hb_options_t ();
 #endif
   /* Make a local copy, so we can access bitfield threadsafely. */