Forráskód Böngészése

COMP: Using proper __QNX__ preprocessor test.

Brad King 20 éve
szülő
commit
eea7221f31
1 módosított fájl, 2 hozzáadás és 2 törlés
  1. 2 2
      Source/kwsys/SystemTools.cxx

+ 2 - 2
Source/kwsys/SystemTools.cxx

@@ -25,8 +25,8 @@
 
 #include <ctype.h>
 #include <errno.h>
-#ifdef QNX /* TODO: Find real preprocessor for QNX. */
-# include <malloc.h> /* for malloc/free on some systems */
+#ifdef __QNX__
+# include <malloc.h> /* for malloc/free on QNX */
 #endif
 #include <stdio.h>
 #include <stdlib.h>