]> granicus.if.org Git - nethack/commitdiff
fix check for stdc version in include/integer.h
authorPatric Mueller <bhaak@gmx.net>
Sun, 13 Jan 2019 14:17:59 +0000 (15:17 +0100)
committerPatric Mueller <bhaak@gmx.net>
Mon, 28 Jan 2019 09:02:08 +0000 (10:02 +0100)
include/integer.h

index 044da028d965145be588cf2d012c9930ee05a6c1..8c9a0cbb034a6bf5ede1d5a990ac0c7026b04534 100644 (file)
@@ -7,7 +7,7 @@
 #ifndef INTEGER_H
 #define INTEGER_H
 
-#if defined(__STDC__) && __STDC__ >= 199101L
+#if defined(__STDC__) && __STDC_VERSION__ >= 199101L
 
 /* The compiler claims to conform to C99. Use stdint.h */
 #include <stdint.h>