ref: 55974bc743c8f81e69e37a1a32bad2f316805d55
parent: 94005513a4927af6f278a1002ec3fdd0b13b29a9
author: stag019 <[email protected]>
date: Mon Dec 23 09:52:37 EST 2013
Only define _MAX_PATH is it isn't already defined.
--- a/include/asm/types.h
+++ b/include/asm/types.h
@@ -1,7 +1,9 @@
#ifndef ASMOTOR_ASM_TYPES_H
#define ASMOTOR_ASM_TYPES_H
+#ifndef _MAX_PATH
#define _MAX_PATH 512
+#endif
typedef unsigned char UBYTE;
typedef signed char SBYTE;
--- a/include/lib/types.h
+++ b/include/lib/types.h
@@ -1,7 +1,9 @@
#ifndef ASMOTOR_LIB_TYPES_H
#define ASMOTOR_LIB_TYPES_H
+#ifndef _MAX_PATH
#define _MAX_PATH 512
+#endif
typedef unsigned char UBYTE;
typedef signed char SBYTE;
--- a/include/link/mylink.h
+++ b/include/link/mylink.h
@@ -1,7 +1,9 @@
#ifndef ASMOTOR_LINK_LINK_H
#define ASMOTOR_LINK_LINK_H
+#ifndef _MAX_PATH
#define _MAX_PATH 512
+#endif
#include "link/types.h"
--- a/include/link/types.h
+++ b/include/link/types.h
@@ -1,7 +1,9 @@
#ifndef ASMOTOR_LINK_TYPES_H
#define ASMOTOR_LINK_TYPES_H
+#ifndef _MAX_PATH
#define _MAX_PATH 512
+#endif
typedef unsigned char UBYTE;
typedef signed char SBYTE;