History

Cygwin x86_64 support.

Moriyoshi Koizumi committed 9 years ago

Commit 121859e1 parent e1a27c93 files · +24 −4Browse files

Showing the changes to codec/common/src/WelsThreadLib.cpp (1 of 3 files). Show all

Unified · Split

codec/common/src/WelsThreadLib.cpp+3−3
@@ -44,7 +44,7 @@ · 43 unmodified lines
4444 #define _GNU_SOURCE
4545 #endif
4646 #include <sched.h>
47−#elif !defined(_WIN32)
47+#elif !defined(_WIN32) && !defined(__CYGWIN__)
4848 #include <sys/types.h>
4949 #include <sys/sysctl.h>
5050 #include <sys/param.h>
@@ -67,7 +67,7 @@ · 16 unmodified lines
6767 #include <stdlib.h>
6868
6969
70−#ifdef _WIN32
70+#if defined(_WIN32) || defined(__CYGWIN__)
7171
7272 #ifdef WINAPI_FAMILY
7373 #if !WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
@@ -129,7 +129,7 @@ WELS_THREAD_ERROR_CODE WelsMutexDestroy (WELS_MUTEX* mutex) { · 55 unmodified lines
129129
130130 #endif /* !_WIN32 */
131131
132−#ifdef _WIN32
132+#if defined(_WIN32) || defined(__CYGWIN__)
133133
134134 WELS_THREAD_ERROR_CODE WelsEventOpen (WELS_EVENT* event, const char* event_name) {
135135 WELS_EVENT h = CreateEvent (NULL, FALSE, FALSE, NULL);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t