summaryrefslogtreecommitdiffstats
path: root/contrib/byacc/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/byacc/main.c')
-rw-r--r--contrib/byacc/main.c16
1 files changed, 6 insertions, 10 deletions
diff --git a/contrib/byacc/main.c b/contrib/byacc/main.c
index bcd7d50..816e154 100644
--- a/contrib/byacc/main.c
+++ b/contrib/byacc/main.c
@@ -1,19 +1,15 @@
-/* $Id: main.c,v 1.39 2012/05/26 00:50:20 tom Exp $ */
+/* $Id: main.c,v 1.40 2012/09/29 13:11:00 Adrian.Bunk Exp $ */
#include <signal.h>
#include <unistd.h> /* for _exit() */
#include "defs.h"
-#if defined(HAVE_ATEXIT)
-# ifdef HAVE_MKSTEMP
-# define USE_MKSTEMP 1
-# elif defined(HAVE_FCNTL_H)
-# define USE_MKSTEMP 1
-# include <fcntl.h> /* for open(), O_EXCL, etc. */
-# else
-# define USE_MKSTEMP 0
-# endif
+#ifdef HAVE_MKSTEMP
+# define USE_MKSTEMP 1
+#elif defined(HAVE_FCNTL_H)
+# define USE_MKSTEMP 1
+# include <fcntl.h> /* for open(), O_EXCL, etc. */
#else
# define USE_MKSTEMP 0
#endif
OpenPOWER on IntegriCloud