Move MAX_PATH definition for _GNU_C platform to types.h since it's used more than once.
This commit is contained in:
parent
daa2d26ff6
commit
b57533998a
|
@ -28,11 +28,6 @@
|
|||
#include "types.h"
|
||||
#include "debug.h"
|
||||
|
||||
#ifdef __GNUC__
|
||||
#include <limits.h>
|
||||
#define MAX_PATH PATH_MAX
|
||||
#endif
|
||||
|
||||
typedef struct
|
||||
{
|
||||
// The name of the plugin, this name will appear in the plugins list
|
||||
|
|
|
@ -64,6 +64,11 @@
|
|||
#else
|
||||
#define WINAPI
|
||||
#endif
|
||||
|
||||
#ifdef __GNUC__
|
||||
#include <limits.h>
|
||||
#define MAX_PATH PATH_MAX
|
||||
#endif
|
||||
|
||||
#if defined(_MSC_VER) || defined(__INTEL_COMPILER)
|
||||
#define ALIGN(X) __declspec(align(X))
|
||||
|
|
Loading…
Reference in New Issue