Browse Source

COMP: Using proper __QNX__ preprocessor test.

Brad King 20 năm trước cách đây
mục cha
commit
eea7221f31
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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>