diff options
-rw-r--r-- | CMakeLists.txt | 3 | ||||
-rw-r--r-- | src/common/platform/unix/UnixFileStream.cpp | 1 |
2 files changed, 1 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 48e6b21d..e1510f8f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,7 @@ cmake_minimum_required(VERSION 3.21) set(CMAKE_CXX_STANDARD 20) +set(CMAKE_CXX_EXTENSIONS OFF) project(cru) @@ -11,8 +12,6 @@ add_subdirectory(lib/GSL) set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin) set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib) -set(C) - enable_testing() if (MSVC) diff --git a/src/common/platform/unix/UnixFileStream.cpp b/src/common/platform/unix/UnixFileStream.cpp index 7a44b92a..7c1b0280 100644 --- a/src/common/platform/unix/UnixFileStream.cpp +++ b/src/common/platform/unix/UnixFileStream.cpp @@ -4,7 +4,6 @@ #include "cru/common/platform/unix/ErrnoException.h" #include <fcntl.h> -#include <sys/_types/_s_ifmt.h> #include <unistd.h> namespace cru::platform::unix { |