summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-05-30 13:10:38 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-05-30 13:10:38 +0000
commitc943539b27d565aaf6ea93b3095b621d2fe7d8e4 (patch)
tree31f84f7545a6919c5fdeb6092024200e9a1e801c /main.c
parent15d0187d622e8304a13d60eb9a01f6ed63bbb9dc (diff)
Notes
Diffstat (limited to 'main.c')
-rw-r--r--main.c16
1 files changed, 6 insertions, 10 deletions
diff --git a/main.c b/main.c
index bcd7d50c5b34..816e1547f82c 100644
--- a/main.c
+++ b/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