summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-09-13 06:27:16 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-09-13 06:27:16 +0000
commitcc1662420f3067bbec7ef1bc38f7b6ffe15025e1 (patch)
treedadef36919afbae6882a45d7ae1f7375dde2afc3
parentc455e7bd53d11c69d7f87a2d1068ed44125b92d5 (diff)
undef MAX_PATH before defining it makes it play the simulator game better
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2280 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/common/file.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/firmware/common/file.h b/firmware/common/file.h
index 66e0139537..c95811fc55 100644
--- a/firmware/common/file.h
+++ b/firmware/common/file.h
@@ -20,6 +20,7 @@
#ifndef _FILE_H_
#define _FILE_H_
+#undef MAX_PATH /* this avoids problems when building simulator */
#define MAX_PATH 260
#ifndef SEEK_SET