]> andersk Git - nss_nonlocal.git/blobdiff - nonlocal.h
Define bool
[nss_nonlocal.git] / nonlocal.h
index a0746d4c7eb96f25245adc51d667d6b51d708e08..b31a9a93ef09b50de38372dca7639e66c8e5372d 100644 (file)
 #define NONLOCAL_H
 
 #include "config.h"
+
+#ifdef HAVE_STDBOOL_H
+# include <stdbool.h>
+#else
+# ifndef HAVE__BOOL
+#  ifdef __cplusplus
+typedef bool _Bool;
+#  else
+#   define _Bool signed char
+#  endif
+# endif
+# define bool _Bool
+# define false 0
+# define true 1
+# define __bool_true_false_are_defined 1
+#endif
+
 #include "nsswitch-internal.h"
 
 struct walk_nss {
This page took 0.233129 seconds and 4 git commands to generate.