aboutsummaryrefslogtreecommitdiff
path: root/common/scummsys.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/scummsys.h')
-rw-r--r--common/scummsys.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/common/scummsys.h b/common/scummsys.h
index 25a9ae9d0a..3a697f7504 100644
--- a/common/scummsys.h
+++ b/common/scummsys.h
@@ -24,7 +24,7 @@
#ifndef COMMON_SCUMMSYS_H
#define COMMON_SCUMMSYS_H
-#if !defined(_STDAFX_H) && !defined(__PLAYSTATION2__)
+#if !defined(COMMON_STDAFX_H) && !defined(__PLAYSTATION2__)
#error Included scummsys.h without including stdafx.h first!
#endif
@@ -358,6 +358,10 @@
#define PI 3.14159265358979323846
#endif
+#ifndef MAXPATHLEN
+#define MAXPATHLEN 256
+#endif
+
//
// Typedef our system types unless SCUMMVM_DONT_DEFINE_TYPES is set.