mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2026-02-16 02:21:07 +00:00
Fix MSVC build issues
This commit is contained in:
@@ -16,19 +16,6 @@ struct thread_context {
|
||||
|
||||
static int running_threads = 0;
|
||||
|
||||
#if defined(LC_WINDOWS)
|
||||
void LimelogWindows(char* Format, ...) {
|
||||
va_list va;
|
||||
char buffer[1024];
|
||||
|
||||
va_start(va, Format);
|
||||
vsprintf(buffer, Format, va);
|
||||
va_end(va);
|
||||
|
||||
OutputDebugStringA(buffer);
|
||||
}
|
||||
#endif
|
||||
|
||||
#if defined(LC_WINDOWS)
|
||||
DWORD WINAPI ThreadProc(LPVOID lpParameter) {
|
||||
struct thread_context* ctx = (struct thread_context*)lpParameter;
|
||||
@@ -293,7 +280,7 @@ int PltWaitForEvent(PLT_EVENT* event) {
|
||||
#endif
|
||||
}
|
||||
|
||||
unsigned long long PltGetMillis(void) {
|
||||
uint64_t PltGetMillis(void) {
|
||||
#if defined(LC_WINDOWS)
|
||||
return GetTickCount64();
|
||||
#elif HAVE_CLOCK_GETTIME
|
||||
|
||||
Reference in New Issue
Block a user