diff options
author | Rolf Eike Beer <eike@sf-mail.de> | 2013-01-07 20:52:45 (GMT) |
---|---|---|
committer | Rolf Eike Beer <eike@sf-mail.de> | 2013-01-07 20:52:45 (GMT) |
commit | 3d2e6a06874603ebe6152045c34de9147a0c11dc (patch) | |
tree | eff99c5763c6536f58ae34a446150cd9de02ebdd /Modules/CMakePlatformId.h.in | |
parent | 7a1b961de8b79416d168355e71f5af80fa4dbd02 (diff) | |
download | CMake-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.in | 5 |
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" |