mirror of
https://github.com/boostorg/python.git
synced 2026-01-26 18:52:26 +00:00
Add cygwin64 support to wrap_python.hpp
This patch adds 64 bit support.
This commit is contained in:
committed by
Carl-Erik Kopseng
parent
359b7f0473
commit
77bdbf0432
@@ -85,13 +85,22 @@
|
||||
#if defined(_WIN32) || defined(__CYGWIN__)
|
||||
# if defined(__GNUC__) && defined(__CYGWIN__)
|
||||
|
||||
# define SIZEOF_LONG 4
|
||||
# if defined(__LP64__)
|
||||
# define SIZEOF_LONG 8
|
||||
# else
|
||||
# define SIZEOF_LONG 4
|
||||
# endif
|
||||
|
||||
|
||||
# if PY_MAJOR_VERSION < 2 || PY_MAJOR_VERSION == 2 && PY_MINOR_VERSION <= 2
|
||||
|
||||
typedef int pid_t;
|
||||
|
||||
# define WORD_BIT 32
|
||||
# if defined(__LP64__)
|
||||
# define WORD_BIT 64
|
||||
# else
|
||||
# define WORD_BIT 32
|
||||
# endif
|
||||
# define hypot _hypot
|
||||
# include <stdio.h>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user