mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2026-06-17 14:21:30 +00:00
Cleanup a bunch of the code and the interface itself
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
#pragma once
|
||||
|
||||
|
||||
#ifdef _WIN32
|
||||
#include <Windows.h>
|
||||
#else
|
||||
@@ -7,4 +8,22 @@
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <pthread.h>
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef _WIN32
|
||||
# if WINAPI_FAMILY == WINAPI_FAMILY_PHONE_APP
|
||||
# define LC_WINDOWS_PHONE
|
||||
# elif WINAPI_FAMILY == WINAPI_FAMILY_DESKTOP_APP
|
||||
# define LC_WINDOWS
|
||||
# endif
|
||||
#else
|
||||
# define LC_POSIX
|
||||
#endif
|
||||
|
||||
#if defined(LC_WINDOWS_PHONE) || defined(LC_WINDOWS)
|
||||
#include <crtdbg.h>
|
||||
#define LC_ASSERT _ASSERTE
|
||||
#else
|
||||
#define LC_ASSERT
|
||||
#endif
|
||||
Reference in New Issue
Block a user