diff options
| author | Dave Love | 2002-10-30 18:58:46 +0000 |
|---|---|---|
| committer | Dave Love | 2002-10-30 18:58:46 +0000 |
| commit | a86892dc69ae91adcf8bb4b10f03a5f3085a1eb9 (patch) | |
| tree | 1f2e1e2448a1f15bd79ab8341bf89c4ffe9ac1d2 /src | |
| parent | 15fe470ff98ef612a233dbaf585369e0c803bd6f (diff) | |
| download | emacs-a86892dc69ae91adcf8bb4b10f03a5f3085a1eb9.tar.gz emacs-a86892dc69ae91adcf8bb4b10f03a5f3085a1eb9.zip | |
Don't include strings.h.
(bcopy, bzero, bcmp) [HAVE_BCOPY]: Don't undef.
Diffstat (limited to 'src')
| -rw-r--r-- | src/s/sol2-5.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/s/sol2-5.h b/src/s/sol2-5.h index e45849da405..6e2a1b77367 100644 --- a/src/s/sol2-5.h +++ b/src/s/sol2-5.h | |||
| @@ -25,15 +25,3 @@ | |||
| 25 | We can optimize this later. */ | 25 | We can optimize this later. */ |
| 26 | 26 | ||
| 27 | #undef USE_MMAP_FOR_BUFFERS | 27 | #undef USE_MMAP_FOR_BUFFERS |
| 28 | |||
| 29 | /* Newer versions of Solaris have bcopy etc. as functions, with | ||
| 30 | prototypes in strings.h. They lose if the defines from usg5-4.h | ||
| 31 | are visible, which happens when X headers are included. */ | ||
| 32 | #ifdef HAVE_BCOPY | ||
| 33 | #undef bcopy | ||
| 34 | #undef bzero | ||
| 35 | #undef bcmp | ||
| 36 | #ifndef NOT_C_CODE | ||
| 37 | #include <strings.h> | ||
| 38 | #endif | ||
| 39 | #endif | ||