summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2020-03-13 20:53:53 +0300
committerIvan Maidanski <ivmai@mail.ru>2020-03-13 20:53:53 +0300
commit3df3d39675263c08935b91d895b44d92379be1f0 (patch)
tree73b41f181b53ca3e954a0a0117c01ebbb6d32a9b
parent45d94c533699fc8513415edfb071253320eac336 (diff)
downloadbdwgc-3df3d39675263c08935b91d895b44d92379be1f0.tar.gz
Fix 'invalid token at start of a preprocessor expression' in misc.c
(fix of commit 07ead928d) Issue #293 (bdwgc). Fix of a typo during cherry-pick. * misc.c [!(MSWIN32 || MSWINCE) && !OS2 && !MACOS && !GC_ANDROID_LOG && !NN_PLATFORM_CTR && !NINTENDO_SWITCH && !SN_TARGET_ORBIS && !SN_TARGET_PSP2]: Remove double "&&" in #if expression.
-rw-r--r--misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc.c b/misc.c
index 849bfadd..a694816d 100644
--- a/misc.c
+++ b/misc.c
@@ -1709,7 +1709,7 @@ GC_API void GC_CALL GC_enable_incremental(void)
#else
# if !defined(SN_TARGET_ORBIS) && !defined(SN_TARGET_PSP2)
-# if !defined(AMIGA) && && !defined(MSWIN_XBOX1) \
+# if !defined(AMIGA) && !defined(MSWIN_XBOX1) \
&& !defined(__CC_ARM)
# include <unistd.h>
# endif