]> git.eshelyaron.com Git - emacs.git/commitdiff
Add #undef for open, close, read, write.
authorRichard M. Stallman <rms@gnu.org>
Thu, 31 Aug 1995 02:37:12 +0000 (02:37 +0000)
committerRichard M. Stallman <rms@gnu.org>
Thu, 31 Aug 1995 02:37:12 +0000 (02:37 +0000)
lib-src/test-distrib.c

index dc5adb5789c233b6de8737fccd9dc1664fbf4d67..01897b83a7f41e0acaac4ec7f085650135c2bb53 100644 (file)
@@ -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