comparison src/s/gnu.h @ 108900:ff2d80da1816

Merge from mainline.
author Katsumi Yamaoka <yamaoka@jpl.org>
date Thu, 03 Jun 2010 22:45:12 +0000
parents 4e8dcb0d6fe0
children 417b1e4d63cd
comparison
equal deleted inserted replaced
108899:f094e7889b4c 108900:ff2d80da1816
32 /* libc defines data_start. */ 32 /* libc defines data_start. */
33 #define DATA_START ({ extern int data_start; (char *) &data_start; }) 33 #define DATA_START ({ extern int data_start; (char *) &data_start; })
34 34
35 /* Some losing code fails to include this and then assumes 35 /* Some losing code fails to include this and then assumes
36 that because it is braindead that O_RDONLY==0. */ 36 that because it is braindead that O_RDONLY==0. */
37 #ifndef NOT_C_CODE
38 #include <fcntl.h> 37 #include <fcntl.h>
39 #endif
40 38
41 #ifdef emacs 39 #ifdef emacs
42 #include <stdio.h> /* Get the definition of _IO_STDIO_H. */ 40 #include <stdio.h> /* Get the definition of _IO_STDIO_H. */
43 #if defined(_IO_STDIO_H) || defined(_STDIO_USES_IOSTREAM) 41 #if defined(_IO_STDIO_H) || defined(_STDIO_USES_IOSTREAM)
44 /* new C libio names */ 42 /* new C libio names */