diff options
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 16 |
1 files changed, 6 insertions, 10 deletions
@@ -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 |