summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2005-03-17 18:06:55 (GMT)
committerBrad King <brad.king@kitware.com>2005-03-17 18:06:55 (GMT)
commiteea7221f319c65e59053d6540095c00ad88ec44f (patch)
tree87fdfa42215b6b343ba85ef87b32795a9b8f494e
parentdcbbcba51afaab0fc47fb41f6c0868202a5e7785 (diff)
downloadCMake-eea7221f319c65e59053d6540095c00ad88ec44f.zip
CMake-eea7221f319c65e59053d6540095c00ad88ec44f.tar.gz
CMake-eea7221f319c65e59053d6540095c00ad88ec44f.tar.bz2
COMP: Using proper __QNX__ preprocessor test.
-rw-r--r--Source/kwsys/SystemTools.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/kwsys/SystemTools.cxx b/Source/kwsys/SystemTools.cxx
index eb86837..fc7e216 100644
--- a/Source/kwsys/SystemTools.cxx
+++ b/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>