From 9ca9e95a79255def15019f5a99ead4be7b4c2187 Mon Sep 17 00:00:00 2001 From: Joe Date: Sat, 25 Jun 2022 22:48:21 +0200 Subject: BSD compat --- CMakeLists.txt | 2 +- raylib/src/external/glfw/src/posix_time.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 61c8de0..7f5fe0a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,7 +4,7 @@ project(shooter) add_subdirectory(raylib) set (CMAKE_CXX_STANDARD 17) -set (CMAKE_CXX_COMPILER /usr/lib64/ccache/clang++) +set (CMAKE_CXX_COMPILER clang++) add_executable(${PROJECT_NAME} src/yabs_core.cpp diff --git a/raylib/src/external/glfw/src/posix_time.c b/raylib/src/external/glfw/src/posix_time.c index ae3d5c7..d6112e4 100644 --- a/raylib/src/external/glfw/src/posix_time.c +++ b/raylib/src/external/glfw/src/posix_time.c @@ -27,7 +27,7 @@ // It is fine to use C99 in this file because it will not be built with VS //======================================================================== -#define _POSIX_C_SOURCE 199309L +// #define _POSIX_C_SOURCE 199309L #include "internal.h" -- cgit v1.2.3