diff options
| author | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-05-30 13:10:38 +0000 |
|---|---|---|
| committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-05-30 13:10:38 +0000 |
| commit | c943539b27d565aaf6ea93b3095b621d2fe7d8e4 (patch) | |
| tree | 31f84f7545a6919c5fdeb6092024200e9a1e801c /main.c | |
| parent | 15d0187d622e8304a13d60eb9a01f6ed63bbb9dc (diff) | |
Notes
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 |
