Changeset: 8671c5d1929b for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/8671c5d1929b
Added Files:
NT/unistd.h
Removed Files:
unistd.h.in
Modified Files:
CMakeLists.txt
Branch: default
Log Message:
Move Windows-specific unistd.h file into Windows-specific directory.
diffs (25 lines):
diff --git a/CMakeLists.txt b/CMakeLists.txt
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -44,6 +44,7 @@ include(TestBigEndian REQUIRED)
if(WIN32)
set(CMAKE_REQUIRED_LIBRARIES ws2_32.lib shell32.lib advapi32.lib)
+ include_directories(BEFORE SYSTEM NT)
endif()
test_big_endian(IS_BIG_ENDIAN)
@@ -119,10 +120,6 @@ find_program(BASH NAMES bash DOC "bash i
configure_file(monetdb_config.h.in
${CMAKE_CURRENT_BINARY_DIR}/monetdb_config.h)
-if(WIN32)
- configure_file(unistd.h.in
- ${CMAKE_CURRENT_BINARY_DIR}/unistd.h)
-endif()
add_library(monetdb_config_header INTERFACE)
diff --git a/unistd.h.in b/NT/unistd.h
rename from unistd.h.in
rename to NT/unistd.h
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]