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
44#define _GNU_SOURCE44#define _GNU_SOURCE
45#endif45#endif
46#include <sched.h>46#include <sched.h>
47#elif !defined(_WIN32)47#elif !defined(_WIN32) && !defined(__CYGWIN__)
48#include <sys/types.h>48#include <sys/types.h>
49#include <sys/sysctl.h>49#include <sys/sysctl.h>
50#include <sys/param.h>50#include <sys/param.h>
@@ -67,7 +67,7 @@ · 16 unmodified lines
67#include <stdlib.h>67#include <stdlib.h>
68 68
69 69
70#ifdef _WIN3270#if defined(_WIN32) || defined(__CYGWIN__)
71 71
72#ifdef WINAPI_FAMILY72#ifdef WINAPI_FAMILY
73#if !WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)73#if !WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
@@ -129,7 +129,7 @@ WELS_THREAD_ERROR_CODE WelsMutexDestroy (WELS_MUTEX* mutex) { · 55 unmodified lines
129 129
130#endif /* !_WIN32 */130#endif /* !_WIN32 */
131 131
132#ifdef _WIN32132#if defined(_WIN32) || defined(__CYGWIN__)
133 133
134WELS_THREAD_ERROR_CODE WelsEventOpen (WELS_EVENT* event, const char* event_name) {134WELS_THREAD_ERROR_CODE WelsEventOpen (WELS_EVENT* event, const char* event_name) {
135 WELS_EVENT h = CreateEvent (NULL, FALSE, FALSE, NULL);135 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