diff options
| author | Richard M. Stallman | 1995-08-31 02:37:12 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1995-08-31 02:37:12 +0000 |
| commit | 05abbc425e545f18690dbdca415a96a524e7d9a6 (patch) | |
| tree | 4d602c54db697d57896f14c6a31b5d22e2911883 | |
| parent | 657a33ab15e2d089e35a78dcc06c1238583740b5 (diff) | |
| download | emacs-05abbc425e545f18690dbdca415a96a524e7d9a6.tar.gz emacs-05abbc425e545f18690dbdca415a96a524e7d9a6.zip | |
Add #undef for open, close, read, write.
| -rw-r--r-- | lib-src/test-distrib.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib-src/test-distrib.c b/lib-src/test-distrib.c index dc5adb5789c..01897b83a7f 100644 --- a/lib-src/test-distrib.c +++ b/lib-src/test-distrib.c | |||
| @@ -2,6 +2,12 @@ | |||
| 2 | #include <config.h> | 2 | #include <config.h> |
| 3 | #endif | 3 | #endif |
| 4 | 4 | ||
| 5 | /* Cancel substitutions made by config.h for Emacs. */ | ||
| 6 | #undef open | ||
| 7 | #undef read | ||
| 8 | #undef write | ||
| 9 | #undef close | ||
| 10 | |||
| 5 | #include <stdio.h> | 11 | #include <stdio.h> |
| 6 | 12 | ||
| 7 | #ifndef O_RDONLY | 13 | #ifndef O_RDONLY |