Issue 7209: Prevents uint_t from being used on QNX (original) (raw)

Issue7209

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:54 admin set github: 51458
2013-03-28 13:14:23 pitrou set nosy: + r.david.murray
2013-03-28 10:38:43 georg.brandl set versions: + Python 3.3, Python 3.4
2009-10-26 17:39:26 kraai set files: + define-_QNX_SOURCE.patchmessages: +
2009-10-26 16:59:34 kraai create