summaryrefslogtreecommitdiffstats
path: root/Include/internal/pycore_pathconfig.h
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@microsoft.com>2018-11-18 04:41:48 (GMT)
committerGitHub <noreply@github.com>2018-11-18 04:41:48 (GMT)
commit177a41a07b7d13c70d068ea0962f07e625ae171e (patch)
tree1f698c35899360fe3b73bc90b9556871b35813a0 /Include/internal/pycore_pathconfig.h
parent689d555ec135d4115574addd063c358ac4897cc4 (diff)
downloadcpython-177a41a07b7d13c70d068ea0962f07e625ae171e.zip
cpython-177a41a07b7d13c70d068ea0962f07e625ae171e.tar.gz
cpython-177a41a07b7d13c70d068ea0962f07e625ae171e.tar.bz2
bpo-34725: Adds _Py_SetProgramFullPath so embedders may override sys.executable (GH-9860)
Diffstat (limited to 'Include/internal/pycore_pathconfig.h')
-rw-r--r--Include/internal/pycore_pathconfig.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/Include/internal/pycore_pathconfig.h b/Include/internal/pycore_pathconfig.h
index 267e690..c073152 100644
--- a/Include/internal/pycore_pathconfig.h
+++ b/Include/internal/pycore_pathconfig.h
@@ -26,10 +26,9 @@ typedef struct _PyPathConfig {
/* Full path to the Python program */
wchar_t *program_full_path;
wchar_t *prefix;
+ wchar_t *exec_prefix;
#ifdef MS_WINDOWS
wchar_t *dll_path;
-#else
- wchar_t *exec_prefix;
#endif
/* Set by Py_SetPath(), or computed by _PyPathConfig_Init() */
wchar_t *module_search_path;