Move MAX_PATH definition for _GNU_C platform to types.h since it's used more than once.

This commit is contained in:
riccardom 2009-01-15 21:01:35 +00:00
parent daa2d26ff6
commit b57533998a
2 changed files with 5 additions and 5 deletions

View File

@ -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

View File

@ -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))