summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeFortranCompilerId.F.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/CMakeFortranCompilerId.F.in
parent7a1b961de8b79416d168355e71f5af80fa4dbd02 (diff)
downloadCMake-3d2e6a06874603ebe6152045c34de9147a0c11dc.zip
CMake-3d2e6a06874603ebe6152045c34de9147a0c11dc.tar.gz
CMake-3d2e6a06874603ebe6152045c34de9147a0c11dc.tar.bz2
check for Haiku only with __HAIKU__
Diffstat (limited to 'Modules/CMakeFortranCompilerId.F.in')
-rw-r--r--Modules/CMakeFortranCompilerId.F.in6
1 files changed, 1 insertions, 5 deletions
diff --git a/Modules/CMakeFortranCompilerId.F.in b/Modules/CMakeFortranCompilerId.F.in
index 4d25de0..f84852a 100644
--- a/Modules/CMakeFortranCompilerId.F.in
+++ b/Modules/CMakeFortranCompilerId.F.in
@@ -74,12 +74,8 @@
PRINT *, 'INFO:platform[IRIX]'
#elif defined(__hpux) || defined(__hpux__)
PRINT *, 'INFO:platform[HP-UX]'
-#elif defined(__HAIKU) || defined(__HAIKU__) || defined(_HAIKU)
+#elif defined(__HAIKU__)
PRINT *, 'INFO:platform[Haiku]'
-# if 0
-! Haiku also defines __BEOS__ so we must
-! put it prior to the check for __BEOS__
-# endif
#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS)
PRINT *, 'INFO:platform[BeOS]'
#elif defined(__QNX__) || defined(__QNXNTO__)