mirror of
https://github.com/python/cpython.git
synced 2025-12-15 13:39:24 +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
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#ifndef VERSION
|
#if !defined(PREFIX) || !defined(EXEC_PREFIX) || !defined(VERSION) || !defined(VPATH)
|
||||||
#define VERSION "2.1"
|
#error "PREFIX, EXEC_PREFIX, VERSION, and VPATH must be constant defined"
|
||||||
#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"
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef LANDMARK
|
#ifndef LANDMARK
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue