mirror of
https://github.com/python/cpython
synced 2026-09-29 11:55:30 +03:00
The rest of the changes by Trent Mick and Dale Nagata for warning-free
compilation on NT Alpha. Mostly added casts etc.
This commit is contained in:
parent
e0a928dc1e
commit
bffd683f73
15 changed files with 34 additions and 22 deletions
|
|
@ -61,6 +61,8 @@ you must define MS_NO_COREDLL (do not test this macro) */
|
|||
|
||||
#ifdef _M_IX86
|
||||
#define COMPILER "[MSC 32 bit (Intel)]"
|
||||
#elif defined(_M_ALPHA)
|
||||
#define COMPILER "[MSC 32 bit (Alpha)]"
|
||||
#else
|
||||
#define COMPILER "[MSC (Unknown)]"
|
||||
#endif
|
||||
|
|
@ -213,13 +215,16 @@ typedef int pid_t;
|
|||
#ifndef USE_DL_EXPORT
|
||||
/* So nobody needs to specify the .lib in their Makefile any more */
|
||||
#ifdef _DEBUG
|
||||
#define Py_DEBUG
|
||||
#pragma comment(lib,"python15_d.lib")
|
||||
#else
|
||||
#pragma comment(lib,"python15.lib")
|
||||
#endif
|
||||
#endif /* USE_DL_EXPORT */
|
||||
|
||||
#ifdef _DEBUG
|
||||
#define Py_DEBUG
|
||||
#endif
|
||||
|
||||
#define SIZEOF_INT 4
|
||||
#define SIZEOF_LONG 4
|
||||
#define SIZEOF_LONG_LONG 8
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue