We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Py_GetBuildInfo
1 parent 6166614 commit 70b1f4dCopy full SHA for 70b1f4d
Makefile.pre.in
@@ -1726,7 +1726,7 @@ Modules/getbuildinfo.o: $(PARSER_OBJS) \
1726
$(MODOBJS) \
1727
$(DTRACE_OBJS) \
1728
$(srcdir)/Modules/getbuildinfo.c
1729
- $(CC) -c $(PY_CORE_CFLAGS) \
+ $(CC) -c $(PY_BUILTIN_MODULE_CFLAGS) \
1730
-DGITVERSION="\"`LC_ALL=C $(GITVERSION)`\"" \
1731
-DGITTAG="\"`LC_ALL=C $(GITTAG)`\"" \
1732
-DGITBRANCH="\"`LC_ALL=C $(GITBRANCH)`\"" \
Modules/getbuildinfo.c
@@ -41,7 +41,7 @@ static char buildinfo[50 + sizeof(GITVERSION) +
41
((sizeof(GITTAG) > sizeof(GITBRANCH)) ?
42
sizeof(GITTAG) : sizeof(GITBRANCH))];
43
44
-const char *
+PyAPI_FUNC(const char *)
45
Py_GetBuildInfo(void)
46
{
47
if (initialized) {
0 commit comments