diff options
| author | Ahmad Fatoum <ahmad@a3f.at> | 2018-10-07 00:34:50 +0200 |
|---|---|---|
| committer | Ahmad Fatoum <ahmad@a3f.at> | 2018-10-07 00:39:51 +0200 |
| commit | 6572d5ff8c3299d3915f2b3155ef2275baa971fd (patch) | |
| tree | 4982ccc382062699dd1c379d4aa10eff9cc8260a /projects/4coder/project.4coder | |
| parent | a56b3c21942737208a4f54f869b239b1d293cb00 (diff) | |
| download | raylib-6572d5ff8c3299d3915f2b3155ef2275baa971fd.tar.gz raylib-6572d5ff8c3299d3915f2b3155ef2275baa971fd.zip | |
raylib.h: include <stdbool.h> if available
Previously, if <raylib.h> was #included prior to another header that
defined bool, the compilation would fail.
This is e.g. the case for <perl.h> and <objc/objc.h> which both fall
back to the <stdbool.h> if C99 is available.
The following commit includes <objc/objc.h> in src/core.c, which causes
the same problem.
Avoid this by checking for C99 bool like we already do for C++'s.
Diffstat (limited to 'projects/4coder/project.4coder')
0 files changed, 0 insertions, 0 deletions
