comparison src/sysfile.h @ 609:13e3d7ae7155

[xemacs-hg @ 2001-06-06 12:34:42 by ben] nitpicky fixes: emodules.c, tooltalk.c, process-unix.c: Fix warnings pointed out by Martin. lisp.h: Correct usage of CBufbyte. esd.c: indentation changes. bytecode.c, eval.c, fileio.c: Use CBufbyte instead of char for error/warning functions. linuxplay.c, miscplay.c, sgiplay.c, sunplay.c: Define DONT_ENCAPSULATE. (All encapsulation is removed in my pending Mule workspace.) sgiplay.c: Put back #include <audio.h> accidentally removed. Make play_sound_data return an int, like all other such functions in *play.c. sound.c: Fix up documentation of `play-sound'. sysfile.h: Don't include sys/fcntl.h, as per Martin's advice.
author ben
date Wed, 06 Jun 2001 12:34:47 +0000
parents 6cca1c9bdc85
children 943eaba38521
comparison
equal deleted inserted replaced
608:4d7fdf497470 609:13e3d7ae7155
65 /* I hate GTK */ 65 /* I hate GTK */
66 # undef MIN 66 # undef MIN
67 # undef MAX 67 # undef MAX
68 # endif /* HAVE_GTK */ 68 # endif /* HAVE_GTK */
69 # include <sys/param.h> 69 # include <sys/param.h>
70 /* We used to conditionalize this on defined (NeXT) || defined (CYGWIN), 70 /* As per Martin's recommendation, we do not include this. There was
71 with the comment "what is needed from here? Do others need it too? 71 a comment stating that stuff from here was needed on NeXT, Cygwin,
72 O_BINARY is in here under cygwin." sunplay.c needed this, so let's 72 and sunplay.c. However, Cygwin includes this automatically from
73 just include it always and fix any breakage (unlikely) that happens. */ 73 fcntl.h, and Martin says that a "conforming" system should never
74 # include <sys/fcntl.h> 74 need this. We will put it back if necessary on systems requiring it. */
75 /* # include <sys/fcntl.h> */
75 #endif 76 #endif
76 77
77 #ifndef STDERR_FILENO 78 #ifndef STDERR_FILENO
78 #define STDIN_FILENO 0 79 #define STDIN_FILENO 0
79 #define STDOUT_FILENO 1 80 #define STDOUT_FILENO 1