mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
Only define _MAX_PATH is it isn't already defined.
This commit is contained in:
@@ -1,7 +1,9 @@
|
|||||||
#ifndef ASMOTOR_ASM_TYPES_H
|
#ifndef ASMOTOR_ASM_TYPES_H
|
||||||
#define ASMOTOR_ASM_TYPES_H
|
#define ASMOTOR_ASM_TYPES_H
|
||||||
|
|
||||||
|
#ifndef _MAX_PATH
|
||||||
#define _MAX_PATH 512
|
#define _MAX_PATH 512
|
||||||
|
#endif
|
||||||
|
|
||||||
typedef unsigned char UBYTE;
|
typedef unsigned char UBYTE;
|
||||||
typedef signed char SBYTE;
|
typedef signed char SBYTE;
|
||||||
|
|||||||
@@ -1,7 +1,9 @@
|
|||||||
#ifndef ASMOTOR_LIB_TYPES_H
|
#ifndef ASMOTOR_LIB_TYPES_H
|
||||||
#define ASMOTOR_LIB_TYPES_H
|
#define ASMOTOR_LIB_TYPES_H
|
||||||
|
|
||||||
|
#ifndef _MAX_PATH
|
||||||
#define _MAX_PATH 512
|
#define _MAX_PATH 512
|
||||||
|
#endif
|
||||||
|
|
||||||
typedef unsigned char UBYTE;
|
typedef unsigned char UBYTE;
|
||||||
typedef signed char SBYTE;
|
typedef signed char SBYTE;
|
||||||
|
|||||||
@@ -1,7 +1,9 @@
|
|||||||
#ifndef ASMOTOR_LINK_LINK_H
|
#ifndef ASMOTOR_LINK_LINK_H
|
||||||
#define ASMOTOR_LINK_LINK_H
|
#define ASMOTOR_LINK_LINK_H
|
||||||
|
|
||||||
|
#ifndef _MAX_PATH
|
||||||
#define _MAX_PATH 512
|
#define _MAX_PATH 512
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "link/types.h"
|
#include "link/types.h"
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,9 @@
|
|||||||
#ifndef ASMOTOR_LINK_TYPES_H
|
#ifndef ASMOTOR_LINK_TYPES_H
|
||||||
#define ASMOTOR_LINK_TYPES_H
|
#define ASMOTOR_LINK_TYPES_H
|
||||||
|
|
||||||
|
#ifndef _MAX_PATH
|
||||||
#define _MAX_PATH 512
|
#define _MAX_PATH 512
|
||||||
|
#endif
|
||||||
|
|
||||||
typedef unsigned char UBYTE;
|
typedef unsigned char UBYTE;
|
||||||
typedef signed char SBYTE;
|
typedef signed char SBYTE;
|
||||||
|
|||||||
Reference in New Issue
Block a user