aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-10-13 01:13:04 +0200
committerMattias Andrée <maandree@operamail.com>2015-10-13 01:13:04 +0200
commitb5442819f5ee5ad90c64e511363456cc6b0ead38 (patch)
treea394fc2a1437e7df87d8773f408922c4ddf8ae05 /include
parentinfo: booleans (diff)
downloadslibc-b5442819f5ee5ad90c64e511363456cc6b0ead38.tar.gz
slibc-b5442819f5ee5ad90c64e511363456cc6b0ead38.tar.bz2
slibc-b5442819f5ee5ad90c64e511363456cc6b0ead38.tar.xz
guard stdbool.h with __bool_true_false_are_defined rather than _STDBOOL_H to let the macros to be undefined, and then redefined by including stdbool.h again
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'include')
-rw-r--r--include/stdbool.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/stdbool.h b/include/stdbool.h
index ed160a8..d68b829 100644
--- a/include/stdbool.h
+++ b/include/stdbool.h
@@ -15,8 +15,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef _STDBOOL_H
-#define _STDBOOL_H
+#ifndef __bool_true_false_are_defined
#include <slibc/version.h>
#include <slibc/features.h>