Logo
Explore Help
Sign In
fluencelabs/musl
1
0
Fork 0
You've already forked musl
mirror of https://github.com/fluencelabs/musl synced 2025-05-10 14:18:43 +00:00
Code Issues Projects Releases Wiki Activity
musl/include/stdbool.h

15 lines
167 B
C
Raw Normal View History

initial check-in, version 0.5.0
2011-02-12 00:22:29 -05:00
#ifndef _STDBOOL_H
#define _STDBOOL_H
#ifndef __cplusplus
#define true 1
#define false 0
make stdbool.h conform to c99
2011-09-20 14:51:56 -04:00
#define bool _Bool
initial check-in, version 0.5.0
2011-02-12 00:22:29 -05:00
#endif
stdbool.h should define __bool_true_false_are_defined even for C++ while the incorporation of this requirement from C99 into C++11 was likely an accident, some software expects it to be defined, and it doesn't hurt. if the requirement is removed, then presumably __bool_true_false_are_defined would just be in the implementation namespace and thus defining it would still be legal.
2013-08-28 00:41:00 -04:00
#define __bool_true_false_are_defined 1
initial check-in, version 0.5.0
2011-02-12 00:22:29 -05:00
#endif
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.7 Page: 391ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API