This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Prevents uint_t from being used on QNX
Type: Stage:
Components: Build Versions: Python 3.3, Python 3.4, Python 2.7
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: kraai, r.david.murray
Priority: normal Keywords: patch

Created on 2009-10-26 16:59 by kraai, last changed 2022-04-11 14:56 by admin.

Files
File name Uploaded Description Edit
define-_QNX_SOURCE.patch kraai, 2009-10-26 16:59 Define _QNX_SOURCE review
define-_QNX_SOURCE.patch kraai, 2009-10-26 17:39 review
Messages (2)
msg94493 - (view) Author: Matt Kraai (kraai) Date: 2009-10-26 16:59
pyconfig.h defines _POSIX_C_SOURCE to 200112L, which prevents QNX's
sys/types.h from defining uint_t.  Samba 4 uses this type, so it fails
to compile if Python.h is included first (cf.
https://bugzilla.samba.org/show_bug.cgi?id=6842).

The attached patch fixes this issue by defining _QNX_SOURCE.
msg94497 - (view) Author: Matt Kraai (kraai) Date: 2009-10-26 17:39
Here's an updated patch.  The first time I forgot to regenerate
pyconfig.h.in.
History
Date User Action Args
2022-04-11 14:56:54adminsetgithub: 51458
2013-03-28 13:14:23pitrousetnosy: + r.david.murray
2013-03-28 10:38:43georg.brandlsetversions: + Python 3.3, Python 3.4
2009-10-26 17:39:26kraaisetfiles: + define-_QNX_SOURCE.patch

messages: + msg94497
2009-10-26 16:59:34kraaicreate