summaryrefslogtreecommitdiff
path: root/TSRM/tsrm_config_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'TSRM/tsrm_config_common.h')
-rw-r--r--TSRM/tsrm_config_common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/TSRM/tsrm_config_common.h b/TSRM/tsrm_config_common.h
index bdd171e619..62a7c8efc0 100644
--- a/TSRM/tsrm_config_common.h
+++ b/TSRM/tsrm_config_common.h
@@ -42,6 +42,8 @@ char *alloca ();
#ifndef MAXPATHLEN
# ifdef PATH_MAX
# define MAXPATHLEN PATH_MAX
+# elif defined(MAX_PATH)
+# define MAXPATHLEN MAX_PATH
# else
# define MAXPATHLEN 256
# endif