diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index b23fa14a3..a7a54ae18 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,7 @@ +2003-02-13 Christopher Faylor + + * include/cygwin/types.h: Use correct ifdef guard for u_ definitions. + 2003-02-13 Christopher Faylor * environ.cc (environ_init): Use strechr. diff --git a/winsup/cygwin/include/cygwin/types.h b/winsup/cygwin/include/cygwin/types.h index c4ba3a656..793157e61 100644 --- a/winsup/cygwin/include/cygwin/types.h +++ b/winsup/cygwin/include/cygwin/types.h @@ -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