diff options
author | Adam Jackson <ajax@redhat.com> | 2009-06-12 12:39:06 -0400 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2009-06-12 12:39:06 -0400 |
commit | 74d18e89a3a315ae9ee4fb3efcaf515abd339b1d (patch) | |
tree | e5e0da47d2387ba879f01ec5b1c44b268a1abfcc /Xos.h | |
parent | bab9c572cd4dc916ff0acab99de8bb526212d77f (diff) |
__STDC__ is always defined in C89.
Diffstat (limited to 'Xos.h')
-rw-r--r-- | Xos.h | 9 |
1 files changed, 0 insertions, 9 deletions
@@ -73,21 +73,12 @@ in this Software without prior written authorization from The Open Group. #if (defined(sun) && defined(__SVR4)) #include <strings.h> #endif -#ifdef __STDC__ #ifndef index #define index(s,c) (strchr((s),(c))) #endif #ifndef rindex #define rindex(s,c) (strrchr((s),(c))) #endif -#else -#ifndef index -#define index strchr -#endif -#ifndef rindex -#define rindex strrchr -#endif -#endif #endif #else |