|
Revision 44, 1.1 KB
(checked in by pennmush, 3 years ago)
|
|
PennMUSH 1.6.0p0 Archival
|
| Line | |
|---|
| 1 | /* |
|---|
| 2 | * This file was produced by running metaconfig and is intended to be included |
|---|
| 3 | * after config.h and after all the other needed includes have been dealt with. |
|---|
| 4 | * |
|---|
| 5 | * This file may be empty, and should not be edited. Rerun metaconfig instead. |
|---|
| 6 | * If you wish to get rid of this magic, remove this file and rerun metaconfig |
|---|
| 7 | * without the -M option. |
|---|
| 8 | * |
|---|
| 9 | * $Id: Magic_h.U,v 3.0.1.2 1993/11/10 17:32:58 ram Exp $ |
|---|
| 10 | */ |
|---|
| 11 | |
|---|
| 12 | #ifndef _confmagic_h_ |
|---|
| 13 | #define _confmagic_h_ |
|---|
| 14 | |
|---|
| 15 | #ifndef HAS_BCOPY |
|---|
| 16 | #ifndef bcopy |
|---|
| 17 | #define bcopy(s,d,l) memcpy((d),(s),(l)) |
|---|
| 18 | #endif |
|---|
| 19 | #endif |
|---|
| 20 | |
|---|
| 21 | #ifndef HAS_BZERO |
|---|
| 22 | #ifndef bzero |
|---|
| 23 | #define bzero(s,l) memset((s),0,(l)) |
|---|
| 24 | #endif |
|---|
| 25 | #endif |
|---|
| 26 | |
|---|
| 27 | #ifndef HAS_MEMCPY |
|---|
| 28 | #ifndef memcpy |
|---|
| 29 | #define memcpy(d,s,l) bcopy((s),(d),(l)) |
|---|
| 30 | #endif |
|---|
| 31 | #endif |
|---|
| 32 | |
|---|
| 33 | #ifndef HAS_RANDOM |
|---|
| 34 | #ifndef random |
|---|
| 35 | #ifdef HAS_LRAND48 |
|---|
| 36 | #define random lrand48 |
|---|
| 37 | #define srandom srand48 |
|---|
| 38 | #else |
|---|
| 39 | #define random rand |
|---|
| 40 | #define srandom srand |
|---|
| 41 | #endif |
|---|
| 42 | #endif |
|---|
| 43 | #endif |
|---|
| 44 | |
|---|
| 45 | #ifndef HAS_INDEX |
|---|
| 46 | #ifndef index |
|---|
| 47 | #define index strchr |
|---|
| 48 | #endif |
|---|
| 49 | #endif |
|---|
| 50 | |
|---|
| 51 | #ifndef HAS_STRCHR |
|---|
| 52 | #ifndef strchr |
|---|
| 53 | #define strchr index |
|---|
| 54 | #endif |
|---|
| 55 | #endif |
|---|
| 56 | |
|---|
| 57 | #ifndef HAS_STRCHR |
|---|
| 58 | #ifndef strrchr |
|---|
| 59 | #define strrchr rindex |
|---|
| 60 | #endif |
|---|
| 61 | #endif |
|---|
| 62 | |
|---|
| 63 | #endif |
|---|