mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-08 12:28:15 +00:00
REVIEWED: Avoid conflict with bool
This commit is contained in:
3
src/external/par_shapes.h
vendored
3
src/external/par_shapes.h
vendored
@@ -31,6 +31,8 @@ extern "C" {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
// Ray (@raysan5): Commented to avoid conflict with raylib bool
|
||||||
|
/*
|
||||||
#if !defined(_MSC_VER)
|
#if !defined(_MSC_VER)
|
||||||
# include <stdbool.h>
|
# include <stdbool.h>
|
||||||
#else // MSVC
|
#else // MSVC
|
||||||
@@ -42,6 +44,7 @@ extern "C" {
|
|||||||
# define false 0
|
# define false 0
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
*/
|
||||||
|
|
||||||
#ifndef PAR_SHAPES_T
|
#ifndef PAR_SHAPES_T
|
||||||
#define PAR_SHAPES_T uint16_t
|
#define PAR_SHAPES_T uint16_t
|
||||||
|
@@ -79,7 +79,6 @@
|
|||||||
|
|
||||||
#define PAR_SHAPES_IMPLEMENTATION
|
#define PAR_SHAPES_IMPLEMENTATION
|
||||||
#include "external/par_shapes.h" // Shapes 3d parametric generation
|
#include "external/par_shapes.h" // Shapes 3d parametric generation
|
||||||
#undef bool
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(_WIN32)
|
#if defined(_WIN32)
|
||||||
|
Reference in New Issue
Block a user