Mercurial > hg > xemacs-beta
comparison src/sysfile.h @ 100:4be1180a9e89 r20-1b2
Import from CVS: tag r20-1b2
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:15:11 +0200 |
parents | 0293115a14e9 |
children | 41ff10fd062f |
comparison
equal
deleted
inserted
replaced
99:2d83cbd90d8d | 100:4be1180a9e89 |
---|---|
19 Boston, MA 02111-1307, USA. */ | 19 Boston, MA 02111-1307, USA. */ |
20 | 20 |
21 /* Synched up with: Not really in FSF. */ | 21 /* Synched up with: Not really in FSF. */ |
22 | 22 |
23 #include <errno.h> | 23 #include <errno.h> |
24 | |
25 #ifndef WINDOWSNT | |
24 #include <sys/errno.h> /* <errno.h> does not always imply this */ | 26 #include <sys/errno.h> /* <errno.h> does not always imply this */ |
27 #endif | |
28 | |
25 /* Load sys/types.h if not already loaded. | 29 /* Load sys/types.h if not already loaded. |
26 In some systems loading it twice is suicidal. */ | 30 In some systems loading it twice is suicidal. */ |
27 #ifndef makedev | 31 #ifndef makedev |
28 #include <sys/types.h> /* some typedefs are used in sys/file.h */ | 32 #include <sys/types.h> /* some typedefs are used in sys/file.h */ |
29 #endif | 33 #endif |
47 #include <perror.h> | 51 #include <perror.h> |
48 #include <stddef.h> | 52 #include <stddef.h> |
49 #endif | 53 #endif |
50 | 54 |
51 #ifdef WINDOWSNT | 55 #ifdef WINDOWSNT |
52 #define NOMINMAX | 56 #include <io.h> |
57 #endif | |
58 | |
59 #if 0 | |
60 #ifdef WINDOWSNT | |
53 #include <windows.h> | 61 #include <windows.h> |
54 #include <stdlib.h> /* for proper declaration of environ */ | 62 #include <stdlib.h> /* for proper declaration of environ */ |
55 #include <fcntl.h> | 63 #include <fcntl.h> |
56 #include "nt.h" | 64 #include "nt.h" |
57 #define _P_NOWAIT 1 /* from process.h */ | 65 #define _P_NOWAIT 1 /* from process.h */ |
66 #endif | |
58 #endif | 67 #endif |
59 | 68 |
60 #ifdef MSDOS | 69 #ifdef MSDOS |
61 #include <dos.h> | 70 #include <dos.h> |
62 #include "msdos.h" | 71 #include "msdos.h" |