comparison src/fileio.c @ 48423:77ba6907e487

(_GNU_SOURCE, HAVE_FSYNC): Don't define.
author Dave Love <fx@gnu.org>
date Mon, 18 Nov 2002 15:39:55 +0000
parents 2a844a827c29
children b3e8e8c5face
comparison
equal deleted inserted replaced
48422:2346caa2a66a 48423:77ba6907e487
16 16
17 You should have received a copy of the GNU General Public License 17 You should have received a copy of the GNU General Public License
18 along with GNU Emacs; see the file COPYING. If not, write to 18 along with GNU Emacs; see the file COPYING. If not, write to
19 the Free Software Foundation, Inc., 59 Temple Place - Suite 330, 19 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
20 Boston, MA 02111-1307, USA. */ 20 Boston, MA 02111-1307, USA. */
21
22 #define _GNU_SOURCE /* for euidaccess */
23 21
24 #include <config.h> 22 #include <config.h>
25 23
26 #if defined (USG5) || defined (BSD_SYSTEM) || defined (GNU_LINUX) 24 #if defined (USG5) || defined (BSD_SYSTEM) || defined (GNU_LINUX)
27 #include <fcntl.h> 25 #include <fcntl.h>
70 #endif 68 #endif
71 #endif 69 #endif
72 70
73 #ifdef APOLLO 71 #ifdef APOLLO
74 #include <sys/time.h> 72 #include <sys/time.h>
75 #endif
76
77 #ifndef USG
78 #ifndef VMS
79 #ifndef BSD4_1
80 #ifndef WINDOWSNT
81 #define HAVE_FSYNC
82 #endif
83 #endif
84 #endif
85 #endif 73 #endif
86 74
87 #include "lisp.h" 75 #include "lisp.h"
88 #include "intervals.h" 76 #include "intervals.h"
89 #include "buffer.h" 77 #include "buffer.h"