소스 검색

REVIEWED: Avoid conflict with bool

pull/1909/head
raysan5 3 년 전
부모
커밋
a135d9c25d
2개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. +3
    -0
      src/external/par_shapes.h
  2. +0
    -1
      src/models.c

+ 3
- 0
src/external/par_shapes.h 파일 보기

@ -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

+ 0
- 1
src/models.c 파일 보기

@ -79,7 +79,6 @@
#define PAR_SHAPES_IMPLEMENTATION
#include "external/par_shapes.h" // Shapes 3d parametric generation
#undef bool
#endif
#if defined(_WIN32)

불러오는 중...
취소
저장