comparison src/config.h.in @ 274:ca9a9ec9c1c1 r21-0b35

Import from CVS: tag r21-0b35
author cvs
date Mon, 13 Aug 2007 10:29:42 +0200
parents c5d627a313b1
children 6330739388db
comparison
equal deleted inserted replaced
273:411aac7253ef 274:ca9a9ec9c1c1
737 737
738 /* Strictly speaking, only int or unsigned int are valid types in a 738 /* Strictly speaking, only int or unsigned int are valid types in a
739 bitfield. In practice, we would like to use enums as bitfields. 739 bitfield. In practice, we would like to use enums as bitfields.
740 The following should just result in warning avoidance: 740 The following should just result in warning avoidance:
741 warning: nonportable bit-field type */ 741 warning: nonportable bit-field type */
742 #if !(defined (__SUNPRO_C) && __STDC__ == 1) 742 #ifdef __GNUC__
743 #define enum_field(enumeration_type) enum enumeration_type 743 #define enum_field(enumeration_type) enum enumeration_type
744 #else 744 #else
745 #define enum_field(enumeration_type) unsigned int 745 #define enum_field(enumeration_type) unsigned int
746 #endif 746 #endif
747 747