summaryrefslogtreecommitdiffstats
path: root/Modules/getpath.c
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2006-07-10 01:18:57 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2006-07-10 01:18:57 (GMT)
commit2a30cd0ef0673710a1a4e188b50c11026c403b2a (patch)
treea95d41411e8f7d39a0fa6b6b73f99fc93573d8ea /Modules/getpath.c
parent4a5fbda66d3132af761e32e164ed398977f51694 (diff)
downloadcpython-2a30cd0ef0673710a1a4e188b50c11026c403b2a.zip
cpython-2a30cd0ef0673710a1a4e188b50c11026c403b2a.tar.gz
cpython-2a30cd0ef0673710a1a4e188b50c11026c403b2a.tar.bz2
Patch #1516912: improve Modules support for OpenVMS.
Diffstat (limited to 'Modules/getpath.c')
-rw-r--r--Modules/getpath.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/Modules/getpath.c b/Modules/getpath.c
index 8eba730..78bfaf9 100644
--- a/Modules/getpath.c
+++ b/Modules/getpath.c
@@ -97,19 +97,19 @@
#ifndef VERSION
-#if defined(__VMS)
-#define VERSION "2_1"
-#else
#define VERSION "2.1"
#endif
-#endif
#ifndef VPATH
#define VPATH "."
#endif
#ifndef PREFIX
-#define PREFIX "/usr/local"
+# ifdef __VMS
+# define PREFIX ""
+# else
+# define PREFIX "/usr/local"
+# endif
#endif
#ifndef EXEC_PREFIX