configure: generate less files, and do that in build dir
[m6w6/ext-psi] / php_psi_stdinc.h.in
diff --git a/php_psi_stdinc.h.in b/php_psi_stdinc.h.in
new file mode 100644 (file)
index 0000000..55c2f09
--- /dev/null
@@ -0,0 +1,20 @@
+/* generated by configure */
+#ifndef PSI_STDINC_H
+#define PSI_STDINC_H
+
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#else
+# include "php_config.h"
+#endif
+
+#ifndef _GNU_SOURCE
+# define _GNU_SOURCE
+#endif
+#ifndef _REENTRANT
+# define _REENTRANT
+#endif
+
+@PSI_INCLUDES@
+
+#endif
\ No newline at end of file