mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
remove (hilarious) defaults for various constants getpath.c needs
This commit is contained in:
parent
f86959d883
commit
f585414813
1 changed files with 2 additions and 19 deletions
|
@ -101,25 +101,8 @@
|
|||
#endif
|
||||
|
||||
|
||||
#ifndef VERSION
|
||||
#define VERSION "2.1"
|
||||
#endif
|
||||
|
||||
#ifndef VPATH
|
||||
#define VPATH "."
|
||||
#endif
|
||||
|
||||
#ifndef PREFIX
|
||||
# define PREFIX "/usr/local"
|
||||
#endif
|
||||
|
||||
#ifndef EXEC_PREFIX
|
||||
#define EXEC_PREFIX PREFIX
|
||||
#endif
|
||||
|
||||
#ifndef PYTHONPATH
|
||||
#define PYTHONPATH PREFIX "/lib/python" VERSION ":" \
|
||||
EXEC_PREFIX "/lib/python" VERSION "/lib-dynload"
|
||||
#if !defined(PREFIX) || !defined(EXEC_PREFIX) || !defined(VERSION) || !defined(VPATH)
|
||||
#error "PREFIX, EXEC_PREFIX, VERSION, and VPATH must be constant defined"
|
||||
#endif
|
||||
|
||||
#ifndef LANDMARK
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue