replace: Fix checking for config.h #define in replace.h
[sfrench/samba-autobuild/.git] / lib / replace / replace.h
index 0055255a9a5f391e2ef9beceac98219995fefeb0..c66720b17655eb6a7d3be797d673d78597a2f2bd 100644 (file)
@@ -56,7 +56,7 @@
 #ifdef HAVE_INTTYPES_H
 #define __STDC_FORMAT_MACROS
 #include <inttypes.h>
-#elif HAVE_STDINT_H
+#elif defined(HAVE_STDINT_H)
 #include <stdint.h>
 /* force off HAVE_INTTYPES_H so that roken doesn't try to include both,
    which causes a warning storm on irix */