Mercurial > hg > xemacs-beta
comparison src/s/linux.h @ 159:3bb7ccffb0c0 r20-3b6
Import from CVS: tag r20-3b6
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:41:43 +0200 |
parents | 6b37e6ddd302 |
children | 0132846995bd |
comparison
equal
deleted
inserted
replaced
158:558dfa75ffb3 | 159:3bb7ccffb0c0 |
---|---|
171 /* XFree86 is built with -DFUNCPROTO=11 -DNARROWPROTO so we better build | 171 /* XFree86 is built with -DFUNCPROTO=11 -DNARROWPROTO so we better build |
172 XEmacs with these switches too so that X functions get called correctly. | 172 XEmacs with these switches too so that X functions get called correctly. |
173 At least XawScrollbarSetThumb needs this. */ | 173 At least XawScrollbarSetThumb needs this. */ |
174 #define C_SWITCH_SYSTEM -DFUNCPROTO=11 -DNARROWPROTO -D_BSD_SOURCE | 174 #define C_SWITCH_SYSTEM -DFUNCPROTO=11 -DNARROWPROTO -D_BSD_SOURCE |
175 #endif | 175 #endif |
176 #define C_SWITCH_SYSTEM -DNARROWPROTO -D_BSD_SOURCE | 176 /* #define C_SWITCH_SYSTEM -DNARROWPROTO -D_BSD_SOURCE */ |
177 #define _BSD_SOURCE 1 | |
177 #endif | 178 #endif |
178 | 179 |
179 | 180 |
180 /* XEmacs change: configure doesn't find this because math.h aliases | 181 /* XEmacs change: configure doesn't find this because math.h aliases |
181 rint to __rint so that it's not found. */ | 182 rint to __rint so that it's not found. */ |
285 /* glibc fuckage */ | 286 /* glibc fuckage */ |
286 #if defined __GLIBC__ && ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || __GLIBC__ > 2) | 287 #if defined __GLIBC__ && ((__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || __GLIBC__ > 2) |
287 # define GETPGRP_NEEDS_ARG | 288 # define GETPGRP_NEEDS_ARG |
288 #endif | 289 #endif |
289 | 290 |
290 /*#ifdef __ELF__*/ | 291 #ifdef __ELF__ |
291 #if 0 /* This is broken -sb */ | |
292 /* mrb - Ordinary link is simple and effective */ | 292 /* mrb - Ordinary link is simple and effective */ |
293 #define ORDINARY_LINK | 293 #define ORDINARY_LINK |
294 #undef LIB_STANDARD | |
294 #undef START_FILES | 295 #undef START_FILES |
295 #undef LIB_STANDARD | |
296 #undef LIB_GCC | 296 #undef LIB_GCC |
297 #endif /* __ELF__ */ | 297 #endif /* __ELF__ */ |