clean up.
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
--- tests/dispatch_test.c.orig
|
||||
+++ tests/dispatch_test.c
|
||||
@@ -30,7 +30,7 @@
|
||||
#include <stdio.h>
|
||||
#if defined(__unix__) || (defined(__APPLE__) && defined(__MACH__))
|
||||
#include <unistd.h>
|
||||
-#if __has_include(<sys/event.h>)
|
||||
+#if __has_include(<sys/event.h>) && !defined(__linux__)
|
||||
#define HAS_SYS_EVENT_H 1
|
||||
#include <sys/event.h>
|
||||
#else
|
||||
@@ -0,0 +1,10 @@
|
||||
--- cmake/modules/DispatchCompilerWarnings.cmake.orig 2020-05-12 13:13:59.619689872 +0300
|
||||
+++ cmake/modules/DispatchCompilerWarnings.cmake 2020-05-12 13:13:35.216171428 +0300
|
||||
@@ -2,7 +2,6 @@
|
||||
if("${CMAKE_C_SIMULATE_ID}" STREQUAL "MSVC")
|
||||
# TODO: someone needs to provide the msvc equivalent warning flags
|
||||
else()
|
||||
- add_compile_options($<$<OR:$<COMPILE_LANGUAGE:C>,$<COMPILE_LANGUAGE:CXX>>:-Werror>)
|
||||
add_compile_options($<$<OR:$<COMPILE_LANGUAGE:C>,$<COMPILE_LANGUAGE:CXX>>:-Wall>)
|
||||
add_compile_options($<$<OR:$<COMPILE_LANGUAGE:C>,$<COMPILE_LANGUAGE:CXX>>:-Wextra>)
|
||||
|
||||
Reference in New Issue
Block a user