summaryrefslogtreecommitdiff
path: root/src/libopts/compat/compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libopts/compat/compat.h')
-rw-r--r--src/libopts/compat/compat.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libopts/compat/compat.h b/src/libopts/compat/compat.h
index 561d55db3c..70a5652a23 100644
--- a/src/libopts/compat/compat.h
+++ b/src/libopts/compat/compat.h
@@ -1,9 +1,9 @@
-/* -*- Mode: C -*-
+/* -*- Mode: C -*-
*
* compat.h is free software.
* This file is part of AutoGen and AutoOpts.
*
- * AutoGen Copyright (C) 1992-2015 by Bruce Korb - all rights reserved
+ * AutoGen Copyright (C) 1992-2018 by Bruce Korb - all rights reserved
*
* AutoOpts is available under any one of two licenses. The license
* in use must be one of these two and the choice is under the control
@@ -182,9 +182,9 @@
# include <unistd.h>
#endif
-#ifdef HAVE_STDBOOL_H
+#if defined(HAVE_STDBOOL_H)
# include <stdbool.h>
-#else
+#elif ! defined(bool)
typedef enum { false = 0, true = 1 } _Bool;
# define bool _Bool