summaryrefslogtreecommitdiffstats
path: root/Modules/CMakePlatformId.h.in
diff options
context:
space:
mode:
authorRolf Eike Beer <eike@sf-mail.de>2013-01-07 20:52:45 (GMT)
committerRolf Eike Beer <eike@sf-mail.de>2013-01-07 20:52:45 (GMT)
commit3d2e6a06874603ebe6152045c34de9147a0c11dc (patch)
treeeff99c5763c6536f58ae34a446150cd9de02ebdd /Modules/CMakePlatformId.h.in
parent7a1b961de8b79416d168355e71f5af80fa4dbd02 (diff)
downloadCMake-3d2e6a06874603ebe6152045c34de9147a0c11dc.zip
CMake-3d2e6a06874603ebe6152045c34de9147a0c11dc.tar.gz
CMake-3d2e6a06874603ebe6152045c34de9147a0c11dc.tar.bz2
check for Haiku only with __HAIKU__
Diffstat (limited to 'Modules/CMakePlatformId.h.in')
-rw-r--r--Modules/CMakePlatformId.h.in5
1 files changed, 1 insertions, 4 deletions
diff --git a/Modules/CMakePlatformId.h.in b/Modules/CMakePlatformId.h.in
index c373414..69171c2 100644
--- a/Modules/CMakePlatformId.h.in
+++ b/Modules/CMakePlatformId.h.in
@@ -35,11 +35,8 @@
#elif defined(__hpux) || defined(__hpux__)
# define PLATFORM_ID "HP-UX"
-#elif defined(__HAIKU) || defined(__HAIKU__) || defined(_HAIKU)
+#elif defined(__HAIKU__)
# define PLATFORM_ID "Haiku"
-/* Haiku also defines __BEOS__ so we must
- put it prior to the check for __BEOS__
-*/
#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS)
# define PLATFORM_ID "BeOS"