chiark / gitweb /
site: SECURITY: Properly update full peer address array
[secnet.git] / secnet.h
index d5663ff980257ecfcb8b6b0736ee479e7f5eaf5f..29cbac79c6fdd3247c2d982da9db89e04847c829 100644 (file)
--- a/secnet.h
+++ b/secnet.h
 
 typedef char *string_t;
 typedef const char *cstring_t;
-typedef enum {False,True} bool_t;
+
+#define False (_Bool)0
+#define True  (_Bool)1
+typedef _Bool bool_t;
 
 #define ASSERT(x) do { if (!(x)) { fatal("assertion failed line %d file " \
                                         __FILE__,__LINE__); } } while(0)