diff options
Diffstat (limited to 'src/3rdparty/harfbuzz-ng/src/hb-warning.cc')
-rw-r--r-- | src/3rdparty/harfbuzz-ng/src/hb-warning.cc | 24 |
1 files changed, 4 insertions, 20 deletions
diff --git a/src/3rdparty/harfbuzz-ng/src/hb-warning.cc b/src/3rdparty/harfbuzz-ng/src/hb-warning.cc index e0f88e2d4a..8f322bcb10 100644 --- a/src/3rdparty/harfbuzz-ng/src/hb-warning.cc +++ b/src/3rdparty/harfbuzz-ng/src/hb-warning.cc @@ -29,27 +29,11 @@ #if defined(HB_ATOMIC_INT_NIL) -#ifdef _MSC_VER -#pragma message("Could not find any system to define atomic_int macros, library may NOT be thread-safe") -#else -#warning "Could not find any system to define atomic_int macros, library may NOT be thread-safe" -#endif +#error "Could not find any system to define atomic_int macros, library WILL NOT be thread-safe" +#error "Check hb-atomic-private.hh for possible resolutions." #endif #if defined(HB_MUTEX_IMPL_NIL) -#ifdef _MSC_VER -#pragma message("Could not find any system to define mutex macros, library may NOT be thread-safe") -#else -#warning "Could not find any system to define mutex macros, library may NOT be thread-safe" -#endif -#endif - -#if defined(HB_ATOMIC_INT_NIL) || defined(HB_MUTEX_IMPL_NIL) -#ifdef _MSC_VER -#pragma message("To suppress these warnings, define HB_NO_MT") -#else -#warning "To suppress these warnings, define HB_NO_MT" +#error "Could not find any system to define mutex macros, library WILL NOT be thread-safe" +#error "Check hb-mutex-private.hh for possible resolutions." #endif -#endif - - |