comparison src/sysdep.h @ 280:7df0dd720c89 r21-0b38

Import from CVS: tag r21-0b38
author cvs
date Mon, 13 Aug 2007 10:32:22 +0200
parents ca9a9ec9c1c1
children 558f606b08ae
comparison
equal deleted inserted replaced
279:c20b2fb5bb0a 280:7df0dd720c89
156 #ifndef HAVE_STRERROR 156 #ifndef HAVE_STRERROR
157 /* X11R6 defines strerror as a macro */ 157 /* X11R6 defines strerror as a macro */
158 # ifdef strerror 158 # ifdef strerror
159 # undef strerror 159 # undef strerror
160 # endif 160 # endif
161 #if defined (__GNUC__) && defined (__GNUC_MINOR__)
162 #if ((__GNUC__ == 2) && (__GNUC_MINOR__ > 7)) || ((__GNUC__ > 2))
163 char *strerror (int);
164 #else
165 CONST char *strerror (int); 161 CONST char *strerror (int);
166 #endif
167 #else
168 CONST char *strerror (int);
169 #endif
170 #endif 162 #endif
171 163
172 #ifdef WINDOWSNT 164 #ifdef WINDOWSNT
173 void mswindows_set_errno (unsigned long win32_error); 165 void mswindows_set_errno (unsigned long win32_error);
174 void mswindows_set_last_errno (void); 166 void mswindows_set_last_errno (void);