Improve compatibility, avoid failing to compile (#3147)
following https://github.com/LMMS/lmms/issues/3146#issuecomment-266211689
This commit is contained in:
@@ -59,13 +59,11 @@
|
||||
#define USE_WS_PREFIX
|
||||
#include <windows.h>
|
||||
|
||||
#ifdef LMMS_BUILD_WIN32
|
||||
#ifdef LMMS_BUILD_WIN64
|
||||
#if defined(LMMS_BUILD_WIN32) || defined(LMMS_BUILD_WIN64)
|
||||
#include "basename.c"
|
||||
#else
|
||||
#include <libgen.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
#include <vector>
|
||||
|
||||
Reference in New Issue
Block a user