better check for stdint.h
authorJosh Coalson <jcoalson@users.sourceforce.net>
Sat, 29 Nov 2008 21:01:20 +0000 (21:01 +0000)
committerJosh Coalson <jcoalson@users.sourceforce.net>
Sat, 29 Nov 2008 21:01:20 +0000 (21:01 +0000)
include/share/alloc.h

index ab34d23..9e9ed0e 100644 (file)
@@ -28,7 +28,7 @@
  */
 
 #include <limits.h> /* for SIZE_MAX */
-#if !defined _MSC_VER && !defined __MINGW32__ && !defined __EMX__
+#if HAVE_STDINT_H
 #include <stdint.h> /* for SIZE_MAX in case limits.h didn't get it */
 #endif
 #include <stdlib.h> /* for size_t, malloc(), etc */