changeset 12976:55e427250ad3

Add #undef for open, close, read, write.
author Richard M. Stallman <rms@gnu.org>
date Thu, 31 Aug 1995 02:37:12 +0000
parents 9bad6a54e268
children 046bc1e2acc9
files lib-src/test-distrib.c
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lib-src/test-distrib.c	Wed Aug 30 19:33:08 1995 +0000
+++ b/lib-src/test-distrib.c	Thu Aug 31 02:37:12 1995 +0000
@@ -2,6 +2,12 @@
 #include <config.h>
 #endif
 
+/* Cancel substitutions made by config.h for Emacs.  */
+#undef open
+#undef read
+#undef write
+#undef close
+
 #include <stdio.h>
 
 #ifndef O_RDONLY