aboutsummaryrefslogtreecommitdiff
path: root/src/framework/Platform
diff options
context:
space:
mode:
Diffstat (limited to 'src/framework/Platform')
-rw-r--r--src/framework/Platform/Define.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/framework/Platform/Define.h b/src/framework/Platform/Define.h
index 3c1b50ce21f..395245d3955 100644
--- a/src/framework/Platform/Define.h
+++ b/src/framework/Platform/Define.h
@@ -48,6 +48,7 @@
# define TRINITY_IMPORT __cdecl
# define TRINITY_SCRIPT_EXT ".dll"
# define TRINITY_SCRIPT_NAME "TrinityScript"
+# define TRINITY_PATH_MAX MAX_PATH
#else //PLATFORM != PLATFORM_WINDOWS
# define TRINITY_LIBRARY_HANDLE void*
# define TRINITY_EXPORT export
@@ -61,6 +62,7 @@
# endif //__APPLE_CC__ && BIG_ENDIAN
# define TRINITY_SCRIPT_EXT ".so"
# define TRINITY_SCRIPT_NAME "libtrinityscript"
+# define TRINITY_PATH_MAX PATH_MAX
#endif //PLATFORM
#if PLATFORM == PLATFORM_WINDOWS