diff options
author | Brad King <brad.king@kitware.com> | 2005-03-17 18:06:55 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2005-03-17 18:06:55 (GMT) |
commit | eea7221f319c65e59053d6540095c00ad88ec44f (patch) | |
tree | 87fdfa42215b6b343ba85ef87b32795a9b8f494e /Source/kwsys/SystemTools.cxx | |
parent | dcbbcba51afaab0fc47fb41f6c0868202a5e7785 (diff) | |
download | CMake-eea7221f319c65e59053d6540095c00ad88ec44f.zip CMake-eea7221f319c65e59053d6540095c00ad88ec44f.tar.gz CMake-eea7221f319c65e59053d6540095c00ad88ec44f.tar.bz2 |
COMP: Using proper __QNX__ preprocessor test.
Diffstat (limited to 'Source/kwsys/SystemTools.cxx')
-rw-r--r-- | Source/kwsys/SystemTools.cxx | 4 |
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> |