Changeset 391 for python/trunk/PC/make_versioninfo.c
- Timestamp:
- Mar 19, 2014, 11:31:01 PM (11 years ago)
- Location:
- python/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
python/trunk
-
Property svn:mergeinfo
set to
/python/vendor/Python-2.7.6 merged eligible /python/vendor/current merged eligible
-
Property svn:mergeinfo
set to
-
python/trunk/PC/make_versioninfo.c
r2 r391 23 23 int main(int argc, char **argv) 24 24 { 25 26 27 28 29 30 31 32 33 34 35 36 37 25 printf("/* This file created by make_versioninfo.exe */\n"); 26 printf("#define FIELD3 %d\n", 27 PY_MICRO_VERSION*1000 + PY_RELEASE_LEVEL*10 + PY_RELEASE_SERIAL); 28 printf("#define MS_DLL_ID \"%d.%d\"\n", 29 PY_MAJOR_VERSION, PY_MINOR_VERSION); 30 printf("#ifndef _DEBUG\n"); 31 printf("#define PYTHON_DLL_NAME \"python%d%d.dll\"\n", 32 PY_MAJOR_VERSION, PY_MINOR_VERSION); 33 printf("#else\n"); 34 printf("#define PYTHON_DLL_NAME \"python%d%d_d.dll\"\n", 35 PY_MAJOR_VERSION, PY_MINOR_VERSION); 36 printf("#endif\n"); 37 return 0; 38 38 }
Note:
See TracChangeset
for help on using the changeset viewer.