summaryrefslogtreecommitdiff
path: root/PC
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2019-05-17 23:54:00 +0200
committerGitHub <noreply@github.com>2019-05-17 23:54:00 +0200
commit871ff77c1cd334a141d52b0d003c080a1928731e (patch)
tree0c7c37e1d28f52fc8967bc3d85da5bb68a13fa8a /PC
parent12083284c54be25abadd85781d36b63731dc1f0c (diff)
downloadcpython-git-871ff77c1cd334a141d52b0d003c080a1928731e.tar.gz
bpo-36763: Add _PyInitError functions (GH-13395)
* Add _PyInitError functions: * _PyInitError_Ok() * _PyInitError_Error() * _PyInitError_NoMemory() * _PyInitError_Exit() * _PyInitError_IsError() * _PyInitError_IsExit() * _PyInitError_Failed() * frozenmain.c and _testembed.c now use functions rather than macros. * Move _Py_INIT_xxx() macros to the internal API. * Move _PyWstrList_INIT macro to the internal API.
Diffstat (limited to 'PC')
-rw-r--r--PC/getpathp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/PC/getpathp.c b/PC/getpathp.c
index 76d3a081b3..64aa1e0d14 100644
--- a/PC/getpathp.c
+++ b/PC/getpathp.c
@@ -80,6 +80,7 @@
#include "Python.h"
+#include "pycore_coreconfig.h"
#include "pycore_pystate.h"
#include "osdefs.h"
#include <wchar.h>