/[m4]/m4/gnulib/m4/stdbool_.h
ViewVC logotype

Diff of /m4/gnulib/m4/stdbool_.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by gary, Fri Sep 5 18:32:26 2003 UTC revision 1.2 by gary, Thu Nov 13 12:05:58 2003 UTC
# Line 56  Line 56 
56  /* BeOS <sys/socket.h> already #defines false 0, true 1.  We use the same  /* BeOS <sys/socket.h> already #defines false 0, true 1.  We use the same
57     definitions below, but temporarily we have to #undef them.  */     definitions below, but temporarily we have to #undef them.  */
58  #ifdef __BEOS__  #ifdef __BEOS__
59    # include <OS.h> /* defines bool but not _Bool */
60  # undef false  # undef false
61  # undef true  # undef true
62  #endif  #endif
# Line 69  Line 70 
70     (see ISO C 99 6.7.2.2.(4)); however, '_Bool' must promote to 'int'     (see ISO C 99 6.7.2.2.(4)); however, '_Bool' must promote to 'int'
71     (see ISO C 99 6.3.1.1.(2)).  So we add a negative value to the     (see ISO C 99 6.3.1.1.(2)).  So we add a negative value to the
72     enum; this ensures that '_Bool' promotes to 'int'.  */     enum; this ensures that '_Bool' promotes to 'int'.  */
73  #ifndef __cplusplus  #if !(defined __cplusplus || defined __BEOS__)
74  # if !@HAVE__BOOL@  # if !@HAVE__BOOL@
75  #  if defined __SUNPRO_C && (__SUNPRO_C < 0x550 || __STDC__ == 1)  #  if defined __SUNPRO_C && (__SUNPRO_C < 0x550 || __STDC__ == 1)
76      /* Avoid stupid "warning: _Bool is a keyword in ISO C99".  */      /* Avoid stupid "warning: _Bool is a keyword in ISO C99".  */

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26