Parcourir la source

Fix detection of VCMI_APPLE

Vadim Markovtsev il y a 10 ans
Parent
commit
337276604d
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      Global.h

+ 1 - 1
Global.h

@@ -61,7 +61,7 @@ static_assert(sizeof(bool) == 1, "Bool needs to be 1 byte in size.");
 #  define VCMI_UNIX
 #  define VCMI_XDG
 #  define VCMI_FREEBSD
-#elif defined(__GNU__) || defined(__gnu_hurd__) || (defined(__MACH__) && !defined(__APPLE))
+#elif defined(__GNU__) || defined(__gnu_hurd__) || (defined(__MACH__) && !defined(__APPLE__))
 #  define VCMI_UNIX
 #  define VCMI_XDG
 #  define VCMI_HURD