diff options
| author | Ray <raysan5@gmail.com> | 2018-10-20 12:30:37 +0200 |
|---|---|---|
| committer | Ray <raysan5@gmail.com> | 2018-10-20 12:30:37 +0200 |
| commit | 161b18edea6649a108ef3f7aa37464688adcba07 (patch) | |
| tree | a26012a935734bed12ff776beb4bf42ae4400099 | |
| parent | 1f4866276aca19ab138c9938ed5ea782b211c00c (diff) | |
| download | raylib-161b18edea6649a108ef3f7aa37464688adcba07.tar.gz raylib-161b18edea6649a108ef3f7aa37464688adcba07.zip | |
Reviewed possible issue with external libs
| -rw-r--r-- | src/Makefile | 3 | ||||
| -rw-r--r-- | src/core.c | 2 |
2 files changed, 1 insertions, 4 deletions
diff --git a/src/Makefile b/src/Makefile index 2932e7bb..0cfc82c1 100644 --- a/src/Makefile +++ b/src/Makefile @@ -342,9 +342,6 @@ endif INCLUDE_PATHS = -I. -Iexternal/glfw/include ifeq ($(PLATFORM),PLATFORM_DESKTOP) - ifeq ($(PLATFORM_OS),WINDOWS) - INCLUDE_PATHS += -Iexternal - endif ifeq ($(PLATFORM_OS),BSD) INCLUDE_PATHS += -I/usr/local/include LDFLAGS += -L. -Lsrc -L/usr/local/lib -L$(RAYLIB_RELEASE_PATH) @@ -125,7 +125,7 @@ #include <ctype.h> // Required for: tolower() [Used in IsFileExtension()] #include <sys/stat.h> // Required for stat() [Used in GetLastWriteTime()] -#if defined(_WIN32) && defined(_MSC_VER) +#if defined(PLATFORM_DESKTOP) && defined(_WIN32) && defined(_MSC_VER) #include "external/dirent.h" // Required for: DIR, opendir(), closedir() [Used in GetDirectoryFiles()] #else #include <dirent.h> // Required for: DIR, opendir(), closedir() [Used in GetDirectoryFiles()] |
