comparison src/m/hp800.h @ 5175:7099e53fe4eb

(bcopy, bzero, bcmp): If HAVE_BCOPY, don't #define.
author Richard M. Stallman <rms@gnu.org>
date Thu, 25 Nov 1993 09:38:56 +0000
parents 7be0f0a02725
children 29bc8be2c604
comparison
equal deleted inserted replaced
5174:bb40928e9e47 5175:7099e53fe4eb
172 172
173 #undef S_IFLNK 173 #undef S_IFLNK
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
184 #define index strchr 188 #define index strchr
185 #define rindex strrchr 189 #define rindex strrchr