Mercurial > hg > xemacs-beta
comparison src/s/cygwin32.h @ 377:d883f39b8495 r21-2b4
Import from CVS: tag r21-2b4
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:05:42 +0200 |
parents | a300bb07d72d |
children | aabb7f5b1c81 |
comparison
equal
deleted
inserted
replaced
376:e2295b4d9f2e | 377:d883f39b8495 |
---|---|
69 * http://www.parallax.co.uk/~andyp */ | 69 * http://www.parallax.co.uk/~andyp */ |
70 | 70 |
71 /* cheesy way to determine cygwin version */ | 71 /* cheesy way to determine cygwin version */ |
72 #ifndef NOT_C_CODE | 72 #ifndef NOT_C_CODE |
73 #include <signal.h> | 73 #include <signal.h> |
74 #ifdef HAVE_CYGWIN32_VERSION_H | 74 #ifdef HAVE_CYGWIN_VERSION_H |
75 #include <cygwin32/version.h> | 75 #include <cygwin/version.h> |
76 #else | 76 #else |
77 #ifdef SIGIO | 77 #ifdef SIGIO |
78 #define CYGWIN_B19 | 78 #define CYGWIN_B19 |
79 #else | 79 #else |
80 #define BROKEN_CYGWIN | 80 #define BROKEN_CYGWIN |
83 | 83 |
84 extern void cygwin32_win32_to_posix_path_list(const char*, char*); | 84 extern void cygwin32_win32_to_posix_path_list(const char*, char*); |
85 extern int cygwin32_win32_to_posix_path_list_buf_size(const char*); | 85 extern int cygwin32_win32_to_posix_path_list_buf_size(const char*); |
86 extern void cygwin32_posix_to_win32_path_list(const char*, char*); | 86 extern void cygwin32_posix_to_win32_path_list(const char*, char*); |
87 extern int cygwin32_posix_to_win32_path_list_buf_size(const char*); | 87 extern int cygwin32_posix_to_win32_path_list_buf_size(const char*); |
88 #ifndef CYGWIN_DLL_VERSION_MAJOR | 88 #ifndef CYGWIN_VERSION_DLL_MAJOR |
89 struct timeval; | 89 struct timeval; |
90 struct timezone; | 90 struct timezone; |
91 struct itimerval; | 91 struct itimerval; |
92 struct stat; | 92 struct stat; |
93 extern int gettimeofday(struct timeval *tp, struct timezone *tzp); | 93 extern int gettimeofday(struct timeval *tp, struct timezone *tzp); |
149 #define TEXT_START -1 | 149 #define TEXT_START -1 |
150 #define TEXT_END -1 | 150 #define TEXT_END -1 |
151 #define DATA_END -1 | 151 #define DATA_END -1 |
152 #define HEAP_IN_DATA | 152 #define HEAP_IN_DATA |
153 #define UNEXEC "unexcw.o" | 153 #define UNEXEC "unexcw.o" |
154 /* #define BROKEN_SIGIO */ | 154 |
155 #ifdef CYGWIN_VERSION_DLL_MAJOR | |
156 #define BROKEN_SIGIO | |
157 #else | |
155 #define PROCESS_IO_BLOCKING | 158 #define PROCESS_IO_BLOCKING |
159 #endif | |
156 #define strnicmp strncasecmp | 160 #define strnicmp strncasecmp |
157 #ifndef HAVE_SOCKETS | 161 #ifndef HAVE_SOCKETS |
158 #define HAVE_SOCKETS | 162 #define HAVE_SOCKETS |
159 #endif | 163 #endif |
160 #define OBJECTS_SYSTEM ntplay.o | 164 #define OBJECTS_SYSTEM ntplay.o |