~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to libdrizzle/drizzle.h

  • Committer: Olaf van der Spek
  • Date: 2011-02-23 20:16:40 UTC
  • mto: (2197.1.3 build)
  • mto: This revision was merged to the branch mainline in revision 2198.
  • Revision ID: olafvdspek@gmail.com-20110223201640-h02xgd9ysc1qmcsk
Don't define bool, false and true in C++ mode.

Show diffs side-by-side

added added

removed removed

Lines of Context:
74
74
#if defined(__GNUC__)
75
75
# include <stdbool.h>
76
76
#else
 
77
# if !defined(__cplusplus)
77
78
typedef enum { false = 0, true = 1 } _Bool;
78
79
typedef _Bool bool;
 
80
#endif 
79
81
#endif
80
82
 
81
83
#else