Closed AlexMax closed 4 years ago
Pretty simple. If I compile incbin.c using Visual Studio 2017, it complains about a missing MAX_PATH.
incbin.c
MAX_PATH
The following invocation gives me what I need. It's a little overkill, but it's probably the safest way to ensure MAX_PATH exists.
#ifdef _WIN32 #define WIN32_LEAN_AND_MEAN #include <Windows.h> #endif
This has been fixed
Pretty simple. If I compile
incbin.c
using Visual Studio 2017, it complains about a missingMAX_PATH
.The following invocation gives me what I need. It's a little overkill, but it's probably the safest way to ensure
MAX_PATH
exists.