main.c (e477abf734cc777a55286bfbd6b80a6760c96acf) | main.c (5b91e83f530b59d5c1b5d180a4e6009caac8718c) |
---|---|
1/* $Id: main.c,v 1.39 2012/05/26 00:50:20 tom Exp $ */ | 1/* $Id: main.c,v 1.40 2012/09/29 13:11:00 Adrian.Bunk Exp $ */ |
2 3#include <signal.h> 4#include <unistd.h> /* for _exit() */ 5 6#include "defs.h" 7 | 2 3#include <signal.h> 4#include <unistd.h> /* for _exit() */ 5 6#include "defs.h" 7 |
8#if defined(HAVE_ATEXIT) 9# ifdef HAVE_MKSTEMP 10# define USE_MKSTEMP 1 11# elif defined(HAVE_FCNTL_H) 12# define USE_MKSTEMP 1 13# include <fcntl.h> /* for open(), O_EXCL, etc. */ 14# else 15# define USE_MKSTEMP 0 16# endif | 8#ifdef HAVE_MKSTEMP 9# define USE_MKSTEMP 1 10#elif defined(HAVE_FCNTL_H) 11# define USE_MKSTEMP 1 12# include <fcntl.h> /* for open(), O_EXCL, etc. */ |
17#else 18# define USE_MKSTEMP 0 19#endif 20 21#if USE_MKSTEMP 22#include <sys/types.h> 23#include <sys/stat.h> 24 --- 640 unchanged lines hidden --- | 13#else 14# define USE_MKSTEMP 0 15#endif 16 17#if USE_MKSTEMP 18#include <sys/types.h> 19#include <sys/stat.h> 20 --- 640 unchanged lines hidden --- |