From 97f9370dfef396866d1a6484f30979d842d35f78 Mon Sep 17 00:00:00 2001 From: Darryl Pogue Date: Sun, 4 Mar 2012 14:35:27 -0800 Subject: [PATCH] Make the *nix path constant use the system value. --- Sources/Plasma/CoreLib/hsUtils.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Sources/Plasma/CoreLib/hsUtils.h b/Sources/Plasma/CoreLib/hsUtils.h index b213687b..54e952f5 100644 --- a/Sources/Plasma/CoreLib/hsUtils.h +++ b/Sources/Plasma/CoreLib/hsUtils.h @@ -165,7 +165,8 @@ inline hsBool hsCompare(float a, float b, float delta=0.0001); # define hsWFopen(name, mode) fopen(hsWStringToString(name), hsWStringToString(mode)) -# define MAX_PATH 1024 +# include +# define MAX_PATH PATH_MAX #endif // Useful floating point utilities