Mercurial > emacs
comparison src/s/gnu-linux.h @ 109585:4504e82595bb
Replace tests for SYSV_SYSTEM_DIR with HAVE_DIRENT_H, set via autoconf
* configure.in: Check for dirent.h
* dired.c, sysdep.c: test HAVE_DIRENT_H instead of SYSV_SYSTEM_DIR
* s/aix4-2.h, s/bsd-common.h, s/cygwin.h, s/gnu-linux.h,
s/msdos.h, s/usg5-4.h: don't define SYSV_SYSTEM_DIR
* sed2v2.inp (HAVE_DIRENT_H): Edit to 1
| author | Jan D <jan.h.d@swipnet.se> |
|---|---|
| date | Thu, 29 Jul 2010 22:01:08 +0200 |
| parents | d86e65007470 |
| children | a8b56c7dbb62 |
comparison
equal
deleted
inserted
replaced
| 109584:63e95c4f28f0 | 109585:4504e82595bb |
|---|---|
| 122 #endif /* !_IO_STDIO_H && ! __UCLIBC__ */ | 122 #endif /* !_IO_STDIO_H && ! __UCLIBC__ */ |
| 123 | 123 |
| 124 #define INTERRUPT_INPUT | 124 #define INTERRUPT_INPUT |
| 125 #endif /* emacs */ | 125 #endif /* emacs */ |
| 126 | 126 |
| 127 #define SYSV_SYSTEM_DIR /* use dirent.h */ | |
| 128 | |
| 129 #define POSIX /* affects getpagesize.h and systty.h */ | 127 #define POSIX /* affects getpagesize.h and systty.h */ |
| 130 | 128 |
| 131 /* This is to work around mysterious gcc failures in some system versions. | 129 /* This is to work around mysterious gcc failures in some system versions. |
| 132 It is unlikely that Emacs changes will work around this problem; | 130 It is unlikely that Emacs changes will work around this problem; |
| 133 therefore, this should remain permanently. */ | 131 therefore, this should remain permanently. */ |
