Fix 'expected end of line in preprocessor' compilation error in gc_priv.h
authorIvan Maidanski <ivmai@mail.ru>
Tue, 7 Mar 2017 21:39:30 +0000 (00:39 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Tue, 7 Mar 2017 21:39:30 +0000 (00:39 +0300)
(fix commit 4f98587)

* include/private/gc_priv.h [CANCEL_SAFE && GC_ASSERTIONS]: Remove
extra ')' in "#if" expression.

include/private/gc_priv.h

index d166b5a..73b1a9d 100644 (file)
@@ -2610,9 +2610,10 @@ GC_INNER ptr_t GC_store_debug_info(ptr_t p, word sz, const char *str,
 
 /* Some convenience macros for cancellation support. */
 #if defined(CANCEL_SAFE)
-# if defined(GC_ASSERTIONS) && (defined(USE_COMPILER_TLS) \
-     || (defined(LINUX) && !defined(ARM32) && GC_GNUC_PREREQ(3, 3)) \
-     || defined(HPUX) /* and probably others ... */))
+# if defined(GC_ASSERTIONS) \
+     && (defined(USE_COMPILER_TLS) \
+         || (defined(LINUX) && !defined(ARM32) && GC_GNUC_PREREQ(3, 3) \
+             || defined(HPUX) /* and probably others ... */))
     extern __thread unsigned char GC_cancel_disable_count;
 #   define NEED_CANCEL_DISABLE_COUNT
 #   define INCR_CANCEL_DISABLE() ++GC_cancel_disable_count