fixed building on windows (clangd is moron)
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
#include "dirent.h"
|
||||
#include "time.h"
|
||||
#include "signal.h"
|
||||
#include <dlfcn.h>
|
||||
|
||||
#ifdef __linux__
|
||||
#include "dlfcn.h"
|
||||
#include "execinfo.h"
|
||||
@@ -16,8 +16,8 @@
|
||||
#endif
|
||||
#ifdef __WIN32__
|
||||
#include "windows.h"
|
||||
#include "dbghelp.h"
|
||||
#endif
|
||||
|
||||
PLATFORM_INTERFACE void Plat_FatalErrorFunc(const char* szFormat, ...)
|
||||
{
|
||||
va_list list;
|
||||
@@ -136,6 +136,7 @@ PLATFORM_INTERFACE void Plat_Backtrace( void )
|
||||
free(symbols);
|
||||
#endif
|
||||
#ifdef __WIN32__
|
||||
/*
|
||||
void* buffer[64];
|
||||
USHORT nptrs = CaptureStackBackTrace(0, 64, buffer, NULL);
|
||||
|
||||
@@ -160,6 +161,7 @@ PLATFORM_INTERFACE void Plat_Backtrace( void )
|
||||
}
|
||||
|
||||
free(symbol);
|
||||
*/
|
||||
#endif
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user