Mercurial > hg > Applications > mh
comparison h/strings.h @ 10:a6481689f99c
*** empty log message ***
author | kono |
---|---|
date | Wed, 06 Dec 2006 03:17:53 +0900 |
parents | bce86c4163a3 |
children | 441a2190cfae |
comparison
equal
deleted
inserted
replaced
9:52d0fa25c554 | 10:a6481689f99c |
---|---|
22 #if defined(SYS5) && !defined(hpux) | 22 #if defined(SYS5) && !defined(hpux) |
23 #define index strchr | 23 #define index strchr |
24 #define rindex strrchr | 24 #define rindex strrchr |
25 #endif /* SYS5 */ | 25 #endif /* SYS5 */ |
26 | 26 |
27 #if defined(BSD42) || defined(SVR4) || defined(hpux) || defined(__osf__) | 27 #if defined(BSD42) || defined(SVR4) || defined(hpux) || defined(__osf__) || defined(linux) |
28 #if !defined(SVR4) && !defined(__386BSD__) && !defined(BSD44) | 28 #if !defined(SVR4) && !defined(__386BSD__) && !defined(BSD44) |
29 #include <strings.h> | 29 #include <strings.h> |
30 #else | 30 #else |
31 #include <string.h> | 31 #include <string.h> |
32 #include <stdlib.h> | 32 #include <stdlib.h> |
53 char *strncat (); | 53 char *strncat (); |
54 int strncmp (); | 54 int strncmp (); |
55 char *strncpy (); | 55 char *strncpy (); |
56 #endif | 56 #endif |
57 | 57 |
58 #if !defined(SVR4) && !defined(__386BSD__) && !defined(BSD44) | 58 #if !defined(SVR4) && !defined(__386BSD__) && !defined(BSD44) && !defined(linux) |
59 char *getenv (); | 59 char *getenv (); |
60 char *calloc (), *malloc (), *realloc (); | 60 char *calloc (), *malloc (), *realloc (); |
61 #endif /* SVR4 */ | 61 #endif /* SVR4 */ |
62 | 62 |
63 #ifdef SYS5 | 63 #ifdef SYS5 |