diff options
| author | Richard M. Stallman | 1993-11-25 09:38:56 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1993-11-25 09:38:56 +0000 |
| commit | 088aaa2d2cd2074ebe7ad212d6d29ac3f8ae46e3 (patch) | |
| tree | 99f5a70efb802ebb041c6084cb8b65d43c5a60bc | |
| parent | 5f8cdaf226e6b0d36965d2d72f0e7c264b05f8ac (diff) | |
| download | emacs-088aaa2d2cd2074ebe7ad212d6d29ac3f8ae46e3.tar.gz emacs-088aaa2d2cd2074ebe7ad212d6d29ac3f8ae46e3.zip | |
(bcopy, bzero, bcmp): If HAVE_BCOPY, don't #define.
| -rw-r--r-- | src/m/hp800.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/m/hp800.h b/src/m/hp800.h index 1b0e8143d89..c20403713ce 100644 --- a/src/m/hp800.h +++ b/src/m/hp800.h | |||
| @@ -174,10 +174,14 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ | |||
| 174 | #endif | 174 | #endif |
| 175 | 175 | ||
| 176 | /* Define the BSTRING functions in terms of the sysV functions. */ | 176 | /* Define the BSTRING functions in terms of the sysV functions. */ |
| 177 | /* On HPUX 8.05, including types.h can include strings.h | ||
| 178 | which defines these as macros. Hence the #ifndefs. */ | ||
| 177 | 179 | ||
| 180 | #ifndef HAVE_BCOPY | ||
| 178 | #define bcopy(a,b,s) memcpy (b,a,s) | 181 | #define bcopy(a,b,s) memcpy (b,a,s) |
| 179 | #define bzero(a,s) memset (a,0,s) | 182 | #define bzero(a,s) memset (a,0,s) |
| 180 | #define bcmp memcmp | 183 | #define bcmp memcmp |
| 184 | #endif | ||
| 181 | 185 | ||
| 182 | /* On USG systems these have different names. */ | 186 | /* On USG systems these have different names. */ |
| 183 | 187 | ||