* include/cygwin/types.h: Use correct ifdef guard for u_ definitions.

This commit is contained in:
Christopher Faylor 2003-02-13 15:37:07 +00:00
parent a200c081f5
commit 97c61aeba5
2 changed files with 12 additions and 8 deletions

View File

@ -1,3 +1,7 @@
2003-02-13 Christopher Faylor <cgf@redhat.com>
* include/cygwin/types.h: Use correct ifdef guard for u_ definitions.
2003-02-13 Christopher Faylor <cgf@redhat.com>
* environ.cc (environ_init): Use strechr.

View File

@ -145,20 +145,20 @@ typedef __uint32_t uint32_t;
typedef __uint64_t uint64_t;
#endif
#ifndef __uint8_t_defined
#define __uint8_t_defined
#ifndef __u_int8_t_defined
#define __u_int8_t_defined
typedef unsigned char u_int8_t;
#endif
#ifndef __uint16_t_defined
#define __uint16_t_defined
#ifndef __u_int16_t_defined
#define __u_int16_t_defined
typedef __uint16_t u_int16_t;
#endif
#ifndef __uint32_t_defined
#define __uint32_t_defined
#ifndef __u_int32_t_defined
#define __u_int32_t_defined
typedef __uint32_t u_int32_t;
#endif
#ifndef __uint64_t_defined
#define __uint64_t_defined
#ifndef __u_int64_t_defined
#define __u_int64_t_defined
typedef __uint64_t u_int64_t;
#endif