diff options
author | Tim Peters <tim.peters@gmail.com> | 2001-11-05 02:45:59 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2001-11-05 02:45:59 (GMT) |
commit | 603c6831d08d8598f76e767acdd6d37227b3e9ec (patch) | |
tree | 81814cbe1ce174dfa90f5ed0177a55f570202d7f /PC/os2vacpp/pyconfig.h | |
parent | c44403995e6fd1a55b39ca86ceb71955cbbf5e25 (diff) | |
download | cpython-603c6831d08d8598f76e767acdd6d37227b3e9ec.zip cpython-603c6831d08d8598f76e767acdd6d37227b3e9ec.tar.gz cpython-603c6831d08d8598f76e767acdd6d37227b3e9ec.tar.bz2 |
SF patch 473749 compile under OS/2 VA C++, from Michael Muller.
Changes enabling Python to compile under OS/2 Visual Age C++.
Diffstat (limited to 'PC/os2vacpp/pyconfig.h')
-rw-r--r-- | PC/os2vacpp/pyconfig.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/PC/os2vacpp/pyconfig.h b/PC/os2vacpp/pyconfig.h index a5a2f51..1ce73c7 100644 --- a/PC/os2vacpp/pyconfig.h +++ b/PC/os2vacpp/pyconfig.h @@ -54,7 +54,7 @@ /* Provide a default library so writers of extension modules * won't have to explicitly specify it anymore */ -#pragma library("Python15.lib") +#pragma library("Python22.lib") /***************************************************/ /* 32-Bit IBM VisualAge C/C++ v3.0 for OS/2 */ @@ -79,6 +79,14 @@ /* #define HAVE_LONG_LONG 1 */ /* VAC++ does not support (long long) */ /* #define SIZEOF_LONG_LONG 8 */ /* Count of Bytes in a (long long) */ +/* unicode definines */ +#define Py_USING_UNICODE +#define PY_UNICODE_TYPE wchar_t +#define Py_UNICODE_SIZE SIZEOF_SHORT + +/* dynamic loading */ +#define HAVE_DYNAMIC_LOADING 1 + /* Define if type char is unsigned and you are not using gcc. */ #ifndef __CHAR_UNSIGNED__ /* #undef __CHAR_UNSIGNED__ */ @@ -188,7 +196,7 @@ typedef int pid_t; /* #define HAVE_GETUID 1 */ /* Unix-Specific */ -#define HAVE_SYS_UN_H 1 /* #include <sys/un.h> */ +/* #define HAVE_SYS_UN_H 1 /* #include <sys/un.h> */ /* #define HAVE_SYS_UTSNAME_H 1 */ /* #include <sys/utsname.h> */ /* #define HAVE_SYS_WAIT_H 1 */ /* #include <sys/wait.h> */ /* #define HAVE_UNISTD_H 1 */ /* #include <unistd.h> */ |