REVIEWED: Avoid conflict with bool
This commit is contained in:
parent
ee72497eef
commit
a135d9c25d
2 changed files with 3 additions and 1 deletions
3
src/external/par_shapes.h
vendored
3
src/external/par_shapes.h
vendored
|
@ -31,6 +31,8 @@ extern "C" {
|
|||
#endif
|
||||
|
||||
#include <stdint.h>
|
||||
// Ray (@raysan5): Commented to avoid conflict with raylib bool
|
||||
/*
|
||||
#if !defined(_MSC_VER)
|
||||
# include <stdbool.h>
|
||||
#else // MSVC
|
||||
|
@ -42,6 +44,7 @@ extern "C" {
|
|||
# define false 0
|
||||
# endif
|
||||
#endif
|
||||
*/
|
||||
|
||||
#ifndef PAR_SHAPES_T
|
||||
#define PAR_SHAPES_T uint16_t
|
||||
|
|
|
@ -79,7 +79,6 @@
|
|||
|
||||
#define PAR_SHAPES_IMPLEMENTATION
|
||||
#include "external/par_shapes.h" // Shapes 3d parametric generation
|
||||
#undef bool
|
||||
#endif
|
||||
|
||||
#if defined(_WIN32)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue