limits.h fix for other platforms
This commit is contained in:
parent
2063e3e0cd
commit
ddf5069a2a
|
@ -54,10 +54,15 @@
|
|||
# include <windows.h>
|
||||
#else
|
||||
# include <unistd.h>
|
||||
# include <linux/limits.h>
|
||||
# define MAX_PATH PATH_MAX
|
||||
# define UNUSED __attribute__((__unused__))
|
||||
|
||||
#ifdef __linux__
|
||||
#include <linux/limits.h>
|
||||
#else
|
||||
#include <limits.h>
|
||||
#endif
|
||||
|
||||
# define FOREGROUND_RED 0x0001
|
||||
# define FOREGROUND_GREEN 0x0002
|
||||
# define FOREGROUND_BLUE 0x0004
|
||||
|
|
Loading…
Reference in New Issue