diff options
author | kinichiro <kinichiro.inoguchi@gmail.com> | 2019-07-14 18:37:59 +0900 |
---|---|---|
committer | kinichiro <kinichiro.inoguchi@gmail.com> | 2019-07-14 19:45:34 +0900 |
commit | 30e91bc6d2b6249da1c8c40582c63601a4838efc (patch) | |
tree | d2fd609548d6eaf47c3751da052367cc433e708b /CMakeLists.txt | |
parent | 9e5a54ac9221c906c13a34722811884c0179adc1 (diff) | |
download | portable-30e91bc6d2b6249da1c8c40582c63601a4838efc.tar.gz portable-30e91bc6d2b6249da1c8c40582c63601a4838efc.tar.bz2 portable-30e91bc6d2b6249da1c8c40582c63601a4838efc.zip |
Enable speed on win32
- Use thread and sleep instead of signal and alarm, on win32
- Disable -multi option on win32 since fork is hard to implement
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 91a2703..66ac3b0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
@@ -107,7 +107,7 @@ if(WIN32) | |||
107 | add_definitions(-D_CRT_DEPRECATED_NO_WARNINGS) | 107 | add_definitions(-D_CRT_DEPRECATED_NO_WARNINGS) |
108 | add_definitions(-D_REENTRANT -D_POSIX_THREAD_SAFE_FUNCTIONS) | 108 | add_definitions(-D_REENTRANT -D_POSIX_THREAD_SAFE_FUNCTIONS) |
109 | add_definitions(-DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0600) | 109 | add_definitions(-DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0600) |
110 | add_definitions(-DCPPFLAGS -DOPENSSL_NO_SPEED -DNO_SYSLOG -DNO_CRYPT) | 110 | add_definitions(-DCPPFLAGS -DNO_SYSLOG -DNO_CRYPT) |
111 | set(PLATFORM_LIBS ${PLATFORM_LIBS} ws2_32) | 111 | set(PLATFORM_LIBS ${PLATFORM_LIBS} ws2_32) |
112 | endif() | 112 | endif() |
113 | 113 | ||