Fix POSIX building

This commit is contained in:
Paul Hollinsky
2018-10-01 11:33:46 -04:00
parent 2b443ad83d
commit a8ef08fae4
5 changed files with 57 additions and 29 deletions
+12
View File
@@ -0,0 +1,12 @@
#ifndef __TCHAR_H_
#define __TCHAR_H_
#if defined _WIN32
// Windows does not need a TCHAR definition, as it is natively defined
#elif defined (__unix__) || (defined (__APPLE__) && defined (__MACH__))
#include "platform/posix/include/tchar.h"
#else
#warning "Please add a definition for this platform's equivalent to TCHAR"
#endif
#endif