Mercurial > hg > xemacs-beta
comparison src/s/cygwin32.h @ 278:90d73dddcdc4 r21-0b37
Import from CVS: tag r21-0b37
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:31:29 +0200 |
parents | 966663fcf606 |
children | 7df0dd720c89 |
comparison
equal
deleted
inserted
replaced
277:cfdf3ff11843 | 278:90d73dddcdc4 |
---|---|
80 extern int cygwin32_win32_to_posix_path_list_buf_size(const char*); | 80 extern int cygwin32_win32_to_posix_path_list_buf_size(const char*); |
81 extern void cygwin32_posix_to_win32_path_list(const char*, char*); | 81 extern void cygwin32_posix_to_win32_path_list(const char*, char*); |
82 extern int cygwin32_posix_to_win32_path_list_buf_size(const char*); | 82 extern int cygwin32_posix_to_win32_path_list_buf_size(const char*); |
83 struct timeval; | 83 struct timeval; |
84 struct timezone; | 84 struct timezone; |
85 struct itimerval; | |
86 struct stat; | |
85 extern int gettimeofday(struct timeval *tp, struct timezone *tzp); | 87 extern int gettimeofday(struct timeval *tp, struct timezone *tzp); |
86 extern int gethostname (char* name, int namelen); | 88 extern int gethostname (char* name, int namelen); |
87 extern char* mktemp(char *); | 89 extern char* mktemp(char *); |
88 extern double logb(double); | 90 extern double logb(double); |
89 extern void sync(); | 91 extern void sync(); |
90 extern int ioctl(int, int, ...); | 92 extern int ioctl(int, int, ...); |
93 /* sys/stat.h */ | |
94 extern int lstat(const char *path, struct stat *buf); | |
95 /* unistd.h */ | |
96 extern int readlink(const char *path, void *buf, unsigned int bufsiz); | |
97 extern int symlink(const char *name1, const char *name2); | |
98 /* sys/time.h */ | |
99 extern int setitimer(int which, const struct itimerval *value, | |
100 struct itimerval *ovalue); | |
101 extern int utimes(char *file, struct timeval *tvp); | |
102 | |
103 extern int srandom( unsigned seed); | |
104 extern long random(); | |
91 #endif | 105 #endif |
92 | 106 |
93 #ifdef HAVE_MS_WINDOWS | 107 #ifdef HAVE_MS_WINDOWS |
94 #define HAVE_NTGUI | 108 #define HAVE_NTGUI |
95 #define HAVE_FACES | 109 #define HAVE_FACES |
97 | 111 |
98 #ifndef ORDINARY_LINK | 112 #ifndef ORDINARY_LINK |
99 #define ORDINARY_LINK | 113 #define ORDINARY_LINK |
100 #endif | 114 #endif |
101 | 115 |
102 #define C_SWITCH_SYSTEM -Wno-sign-compare -Wno-implicit -fno-caller-saves | 116 #define C_SWITCH_SYSTEM -Wno-sign-compare -fno-caller-saves |
103 #define LIBS_SYSTEM -lwinmm | 117 #define LIBS_SYSTEM -lwinmm |
104 | 118 |
119 #define ICC_BAR_CLASSES 4 | |
105 #define SIF_TRACKPOS 0x0010 | 120 #define SIF_TRACKPOS 0x0010 |
106 #define FW_BLACK FW_HEAVY | 121 #define FW_BLACK FW_HEAVY |
107 #define FW_ULTRABOLD FW_EXTRABOLD | 122 #define FW_ULTRABOLD FW_EXTRABOLD |
108 #define FW_ULTRALIGHT FW_EXTRALIGHT | 123 #define FW_ULTRALIGHT FW_EXTRALIGHT |
109 #define VK_APPS 0x5D | 124 #define VK_APPS 0x5D |
131 #define HAVE_SOCKETS | 146 #define HAVE_SOCKETS |
132 #endif | 147 #endif |
133 #define OBJECTS_SYSTEM ntplay.o | 148 #define OBJECTS_SYSTEM ntplay.o |
134 #define HAVE_NATIVE_SOUND | 149 #define HAVE_NATIVE_SOUND |
135 | 150 |
136 #ifndef CYGWIN_B19 | |
137 #define TMPF_FIXED_PITCH 0x01 | |
138 #define SIGPROF 0 | |
139 #define SIGWINCH 0 | |
140 #endif | |
141 | |
142 #undef MAIL_USE_SYSTEM_LOCK | 151 #undef MAIL_USE_SYSTEM_LOCK |
143 #define MAIL_USE_POP | 152 #define MAIL_USE_POP |
144 | 153 |
145 /* Define NO_ARG_ARRAY if you cannot take the address of the first of a | 154 /* Define NO_ARG_ARRAY if you cannot take the address of the first of a |
146 * group of arguments and treat it as an array of the arguments. */ | 155 * group of arguments and treat it as an array of the arguments. */ |
175 Otherwise Emacs assumes that text space precedes data space, | 184 Otherwise Emacs assumes that text space precedes data space, |
176 numerically. */ | 185 numerically. */ |
177 | 186 |
178 /* Text does precede data space, but this is never a safe assumption. */ | 187 /* Text does precede data space, but this is never a safe assumption. */ |
179 #define VIRT_ADDR_VARIES | 188 #define VIRT_ADDR_VARIES |
189 | |
190 /* set this if you have a new version of cygwin | |
191 #define DATA_SEG_BITS 0x10000000 | |
192 */ | |
180 | 193 |
181 /* If you are compiling with a non-C calling convention but need to | 194 /* If you are compiling with a non-C calling convention but need to |
182 declare vararg routines differently, put it here */ | 195 declare vararg routines differently, put it here */ |
183 #define _VARARGS_ __cdecl | 196 #define _VARARGS_ __cdecl |
184 | 197 |