summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 66e0139..c95811f 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