changeset 32183:6f84ff0fa2d8

Simplify mkstemp() check.
author diego
date Thu, 16 Sep 2010 14:38:50 +0000
parents c40f52d5d4c3
children dab4de13e332
files configure
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Thu Sep 16 14:38:03 2010 +0000
+++ b/configure	Thu Sep 16 14:38:50 2010 +0000
@@ -3074,7 +3074,7 @@
 cat > $TMPC << EOF
 #define _XOPEN_SOURCE >= 500
 #include <stdlib.h>
-int main(void) { char a;  mkstemp(&a); return 0; }
+int main(void) { mkstemp(""); return 0; }
 EOF
 _mkstemp=no
 cc_check && _mkstemp=yes