Skip to content
Snippets Groups Projects
Commit e072f447 authored by NT-Lab's avatar NT-Lab
Browse files

Merge branch 'HEAD' into origin/master

parents 1ad531a1 af550ee6
No related branches found
No related tags found
No related merge requests found
......@@ -10,7 +10,9 @@
#ifdef _WIN32
#include Windows.h
#include <Windows.h>
#undef max
#undef min
#elif defined(__APPLE__) || defined(__MACOSX)
#include <mach-o/dyld.h>
#else // Linux
......@@ -137,7 +139,7 @@ namespace ntlab
#ifdef _WIN32
char pathBuffer[MAX_PATH];
DWORD pathLength = GetModuleFileNameA (NULL, pathBuffer, maxPathLength);
DWORD pathLength = GetModuleFileNameA (NULL, pathBuffer, MAX_PATH);
if (pathLength == 0)
return "";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment