Fix boolean_t/B_FALSE/B_TRUE compilation issue
authorDavid Bartley <dtbartle@maltodextrin.csclub.uwaterloo.ca>
Wed, 21 Jan 2009 20:49:57 +0000 (20:49 +0000)
committerDavid Bartley <dtbartle@maltodextrin.csclub.uwaterloo.ca>
Wed, 21 Jan 2009 20:49:57 +0000 (20:49 +0000)
sysdeps/unix/sysv/solaris2/kopensolaris-gnu/bits/types.h

index 1b49518..b0164df 100644 (file)
@@ -233,7 +233,7 @@ typedef __t_uscalar_t       t_uscalar_t;
 #endif
 typedef __t_scalar_t   t_scalar_t;
 
 #endif
 typedef __t_scalar_t   t_scalar_t;
 
-#ifdef __USE_XOPEN
+#if defined(__USE_XOPEN) || defined(__USE_POSIX)
 typedef enum
   {
        _B_FALSE,
 typedef enum
   {
        _B_FALSE,