r18031: Merge my replace fixes:
[kai/samba.git] / source4 / lib / replace / snprintf.c
index eaa5eec40546093cdce94a5490eaaa95e185e242..8182f83751957df759cdcf8f170c7f08a9139d09 100644 (file)
  *
  **************************************************************/
 
-#ifndef NO_CONFIG_H
+#ifdef _SAMBA_BUILD_
 #include "config.h"
 #else
-#define NULL 0
-#endif 
+#include "replace_config.h"
+#endif
 
 #ifdef TEST_SNPRINTF /* need math library headers for testing */