Cleanup a bunch of the code and the interface itself

This commit is contained in:
Cameron Gutman
2014-01-20 19:11:25 -05:00
parent 3b057e4a6b
commit d6c77b0323
18 changed files with 473 additions and 126 deletions
+19
View File
@@ -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