build fix for VMS
authorAlan Hourihane <alanh@tungstengraphics.com>
Sun, 11 Apr 2004 22:22:23 +0000 (22:22 +0000)
committerAlan Hourihane <alanh@tungstengraphics.com>
Sun, 11 Apr 2004 22:22:23 +0000 (22:22 +0000)
src/mesa/main/imports.h

index 5cdac06ba8271efb8314aef637951ecc864d2ed1..94fd5e55bb2d221ff25d2b6fcd23e0d7b49eac84 100644 (file)
@@ -307,7 +307,7 @@ static INLINE int IS_INF_OR_NAN( float x )
 #define IS_INF_OR_NAN(x)        (!isfinite(x))
 #elif defined(finite)
 #define IS_INF_OR_NAN(x)        (!finite(x))
-#elif __VMS
+#elif defined(__VMS)
 #define IS_INF_OR_NAN(x)        (!finite(x))
 #elif defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
 #define IS_INF_OR_NAN(x)        (!isfinite(x))