[Boost-bugs] [Boost C++ Libraries] #11125: Preprocessor definitions in wrap_python.hpp don't check for cygwin64

Subject: [Boost-bugs] [Boost C++ Libraries] #11125: Preprocessor definitions in wrap_python.hpp don't check for cygwin64
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-03-19 08:52:19


#11125: Preprocessor definitions in wrap_python.hpp don't check for cygwin64
------------------------------+---------------------
 Reporter: chris.nixon@… | Owner: rwgk
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: Python
  Version: Boost 1.57.0 | Severity: Problem
 Keywords: |
------------------------------+---------------------
 Preprocessor definitions in
 /libs/python/include/boost/python/detail/wrap_python.hpp assume that
 cygwin is always 32bit (defining length of long as 4 and number of bits in
 a word as 32).

 cygwin64 defines __LP64__, so it can be used to discriminate between
 cygwin32 and cygwin64.

 Attached patch adds 64bit support.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/11125>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:18 UTC