Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
8fef47be
Commit
8fef47be
authored
Feb 13, 2002
by
Martin v. Löwis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Define VERSION in expat.h.
parent
9ad4b688
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
3 deletions
+6
-3
Modules/expat/expat.h
Modules/expat/expat.h
+4
-0
PCbuild/pyexpat.dsp
PCbuild/pyexpat.dsp
+2
-2
setup.py
setup.py
+0
-1
No files found.
Modules/expat/expat.h
View file @
8fef47be
...
@@ -724,6 +724,10 @@ typedef struct {
...
@@ -724,6 +724,10 @@ typedef struct {
XMLPARSEAPI
(
XML_Expat_Version
)
XMLPARSEAPI
(
XML_Expat_Version
)
XML_ExpatVersionInfo
(
void
);
XML_ExpatVersionInfo
(
void
);
/* VERSION is not defined in expat.h.in, but it really belongs here,
and defining it on the command line gives difficulties with MSVC. */
#define VERSION "1.95.2"
#define XML_MAJOR_VERSION 1
#define XML_MAJOR_VERSION 1
#define XML_MINOR_VERSION 95
#define XML_MINOR_VERSION 95
#define XML_MICRO_VERSION 2
#define XML_MICRO_VERSION 2
...
...
PCbuild/pyexpat.dsp
View file @
8fef47be
...
@@ -45,7 +45,7 @@ CFG=pyexpat - Win32 Alpha Debug
...
@@ -45,7 +45,7 @@ CFG=pyexpat - Win32 Alpha Debug
F90=df.exe
F90=df.exe
CPP=cl.exe
CPP=cl.exe
# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
# ADD CPP /nologo /MD /W3 /GX /Zi /O2 /I "..\Include" /I "..\PC" /I "..\Modules\expat" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "HAVE_EXPAT_H" /D "XML_NS" /D "XML_DTD" /D XML_BYTE_ORDER=12 /D XML_CONTEXT_BYTES=1024 /
D VERSION=\"1.95.2\" /
YX /FD /c
# ADD CPP /nologo /MD /W3 /GX /Zi /O2 /I "..\Include" /I "..\PC" /I "..\Modules\expat" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "HAVE_EXPAT_H" /D "XML_NS" /D "XML_DTD" /D XML_BYTE_ORDER=12 /D XML_CONTEXT_BYTES=1024 /YX /FD /c
MTL=midl.exe
MTL=midl.exe
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
...
@@ -76,7 +76,7 @@ LINK32=link.exe
...
@@ -76,7 +76,7 @@ LINK32=link.exe
F90=df.exe
F90=df.exe
CPP=cl.exe
CPP=cl.exe
# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\Include" /I "..\PC" /I "..\Modules\expat" /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D "HAVE_EXPAT_H" /D "XML_NS" /D "XML_DTD" /D XML_BYTE_ORDER=12 /D XML_CONTEXT_BYTES=1024 /
D VERSION="1.95.2" /
YX /FD /c
# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\Include" /I "..\PC" /I "..\Modules\expat" /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D "HAVE_EXPAT_H" /D "XML_NS" /D "XML_DTD" /D XML_BYTE_ORDER=12 /D XML_CONTEXT_BYTES=1024 /YX /FD /c
MTL=midl.exe
MTL=midl.exe
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o "NUL" /win32
...
...
setup.py
View file @
8fef47be
...
@@ -567,7 +567,6 @@ class PyBuildExt(build_ext):
...
@@ -567,7 +567,6 @@ class PyBuildExt(build_ext):
],
],
define_macros
=
[
define_macros
=
[
(
'HAVE_EXPAT_H'
,
None
),
(
'HAVE_EXPAT_H'
,
None
),
(
'VERSION'
,
'"1.95.2"'
),
(
'XML_NS'
,
'1'
),
(
'XML_NS'
,
'1'
),
(
'XML_DTD'
,
'1'
),
(
'XML_DTD'
,
'1'
),
(
'XML_BYTE_ORDER'
,
xmlbo
),
(
'XML_BYTE_ORDER'
,
xmlbo
),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment