Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#562 Missing some symbols in kernel32.def (lib32/lib64) #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions mingw-w64-crt/lib32/kernel32.def
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,7 @@ DeleteFileTransactedA@8
DeleteFileTransactedW@8
DeleteFileW@4
DeleteProcThreadAttributeList@4
DeleteSynchronizationBarrier@4
DeleteTimerQueue@4
DeleteTimerQueueEx@8
DeleteTimerQueueTimer@12
Expand All @@ -248,6 +249,7 @@ EncodeSystemPointer@4
EndUpdateResourceA@8
EndUpdateResourceW@8
EnterCriticalSection@4
EnterSynchronizationBarrier@8
EnumCalendarInfoA@16
EnumCalendarInfoExA@16
EnumCalendarInfoExEx@24
Expand Down Expand Up @@ -762,6 +764,7 @@ InitializeCriticalSectionEx@12
InitializeProcThreadAttributeList@16
InitializeSListHead@4
InitializeSRWLock@4
InitializeSynchronizationBarrier@12
InterlockedCompareExchange64@20 DATA ; FIXME: this is for Vista+. forwards to NTDLL.RtlInterlockedCompareExchange64@20
InterlockedCompareExchange@12 DATA
InterlockedDecrement@4 DATA
Expand Down
3 changes: 3 additions & 0 deletions mingw-w64-crt/lib64/kernel32.def
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,7 @@ DeleteFileTransactedA
DeleteFileTransactedW
DeleteFileW
DeleteProcThreadAttributeList
DeleteSynchronizationBarrier
DeleteTimerQueue
DeleteTimerQueueEx
DeleteTimerQueueTimer
Expand Down Expand Up @@ -256,6 +257,7 @@ EncodeSystemPointer
EndUpdateResourceA
EndUpdateResourceW
EnterCriticalSection
EnterSynchronizationBarrier
EnterUmsSchedulingMode
EnumCalendarInfoA
EnumCalendarInfoExA
Expand Down Expand Up @@ -777,6 +779,7 @@ InitializeExtendedContext
InitializeProcThreadAttributeList
InitializeSListHead
InitializeSRWLock
InitializeSynchronizationBarrier
InterlockedFlushSList
InterlockedPopEntrySList
InterlockedPushEntrySList
Expand Down
9 changes: 6 additions & 3 deletions mingw-w64-headers/include/synchapi.h
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,6 @@ extern "C" {
WINBASEAPI WINBOOL WINAPI SetWaitableTimer (HANDLE hTimer, const LARGE_INTEGER *lpDueTime, LONG lPeriod, PTIMERAPCROUTINE pfnCompletionRoutine, LPVOID lpArgToCompletionRoutine, WINBOOL fResume);
WINBASEAPI WINBOOL WINAPI CancelWaitableTimer (HANDLE hTimer);
WINBASEAPI HANDLE WINAPI OpenWaitableTimerW (DWORD dwDesiredAccess, WINBOOL bInheritHandle, LPCWSTR lpTimerName);
WINBOOL WINAPI EnterSynchronizationBarrier (LPSYNCHRONIZATION_BARRIER lpBarrier, DWORD dwFlags);
WINBOOL WINAPI InitializeSynchronizationBarrier (LPSYNCHRONIZATION_BARRIER lpBarrier, LONG lTotalThreads, LONG lSpinCount);
WINBOOL WINAPI DeleteSynchronizationBarrier (LPSYNCHRONIZATION_BARRIER lpBarrier);
WINBASEAPI VOID WINAPI Sleep (DWORD dwMilliseconds);
WINBASEAPI DWORD WINAPI SignalObjectAndWait (HANDLE hObjectToSignal, HANDLE hObjectToWaitOn, DWORD dwMilliseconds, WINBOOL bAlertable);
#if _WIN32_WINNT >= 0x0600
Expand All @@ -139,6 +136,12 @@ extern "C" {
WINBOOL WINAPI SetWaitableTimerEx (HANDLE hTimer, const LARGE_INTEGER *lpDueTime, LONG lPeriod, PTIMERAPCROUTINE pfnCompletionRoutine, LPVOID lpArgToCompletionRoutine, PREASON_CONTEXT WakeContext, ULONG TolerableDelay);
#endif

#if _WIN32_WINNT >= 0x0602
WINBASEAPI WINBOOL WINAPI EnterSynchronizationBarrier (LPSYNCHRONIZATION_BARRIER lpBarrier, DWORD dwFlags);
WINBASEAPI WINBOOL WINAPI InitializeSynchronizationBarrier (LPSYNCHRONIZATION_BARRIER lpBarrier, LONG lTotalThreads, LONG lSpinCount);
WINBASEAPI WINBOOL WINAPI DeleteSynchronizationBarrier (LPSYNCHRONIZATION_BARRIER lpBarrier);
#endif

#define CreateMutex __MINGW_NAME_AW(CreateMutex)
#define CreateEvent __MINGW_NAME_AW(CreateEvent)

Expand Down