Commit 166f5700 authored by Florian Oetke's avatar Florian Oetke
Browse files

fixed MSVC C4996 in asset and gui module

parent dd6afb64
......@@ -164,7 +164,7 @@ namespace mirrage::asset {
{
char cCurrentPath[FILENAME_MAX];
#ifdef WINDOWS
#ifdef _WIN32
_getcwd(cCurrentPath, sizeof(cCurrentPath));
#else
if(getcwd(cCurrentPath, sizeof(cCurrentPath)) == nullptr) {
......
......@@ -10,7 +10,6 @@
#include <cstdint>
#define NK_INCLUDE_FIXED_TYPES
#define NK_INCLUDE_STANDARD_IO
#define NK_INCLUDE_DEFAULT_ALLOCATOR
#define NK_INCLUDE_VERTEX_BUFFER_OUTPUT
#define NK_INCLUDE_FONT_BAKING
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment