summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorAdrien Destugues <pulkomandy@pulkomandy.tk>2013-10-05 14:59:25 (GMT)
committerBrad King <brad.king@kitware.com>2013-10-08 13:56:16 (GMT)
commit54ef2bea379ca47d961c1bb0fd0ccb026b482810 (patch)
treec5b729d903e97a2d318728f884693a8e26edbea2 /Source
parent38d555537c4b9a09fdbc2909d014e50172bd51ce (diff)
downloadCMake-54ef2bea379ca47d961c1bb0fd0ccb026b482810.zip
CMake-54ef2bea379ca47d961c1bb0fd0ccb026b482810.tar.gz
CMake-54ef2bea379ca47d961c1bb0fd0ccb026b482810.tar.bz2
Haiku: Include files cleanup in cmCTest
* No need to use a different path from the BeOS one, which still works. Applied-by: Rolf Eike Beer <eike@sf-mail.de>
Diffstat (limited to 'Source')
-rw-r--r--Source/cmCTest.cxx6
1 files changed, 1 insertions, 5 deletions
diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx
index feae61a..98f19cc 100644
--- a/Source/cmCTest.cxx
+++ b/Source/cmCTest.cxx
@@ -53,14 +53,10 @@
#include <cm_zlib.h>
#include <cmsys/Base64.h>
-#if defined(__BEOS__)
+#if defined(__BEOS__) || defined(__HAIKU__)
#include <be/kernel/OS.h> /* disable_debugger() API. */
#endif
-#if defined(__HAIKU__)
-#include <os/kernel/OS.h> /* disable_debugger() API. */
-#endif
-
#define DEBUGOUT std::cout << __LINE__ << " "; std::cout
#define DEBUGERR std::cerr << __LINE__ << " "; std::cerr