summaryrefslogtreecommitdiff
path: root/Modules/CMakeFortranCompilerId.F.in
diff options
context:
space:
mode:
authorRolf Eike Beer <eike@sf-mail.de>2013-01-07 21:52:45 +0100
committerRolf Eike Beer <eike@sf-mail.de>2013-01-07 21:52:45 +0100
commit3d2e6a06874603ebe6152045c34de9147a0c11dc (patch)
treeeff99c5763c6536f58ae34a446150cd9de02ebdd /Modules/CMakeFortranCompilerId.F.in
parent7a1b961de8b79416d168355e71f5af80fa4dbd02 (diff)
downloadcmake-3d2e6a06874603ebe6152045c34de9147a0c11dc.tar.gz
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 4d25de0ba5..f84852aeb2 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__)