[issue7209] Prevents uint_t from being used on QNX

Matt Kraai report at bugs.python.org
Mon Oct 26 17:59:35 CET 2009


New submission from Matt Kraai <kraai at ftbfs.org>:

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.

----------
components: Build
files: define-_QNX_SOURCE.patch
keywords: patch
messages: 94493
nosy: kraai
severity: normal
status: open
title: Prevents uint_t from being used on QNX
versions: Python 2.7
Added file: http://bugs.python.org/file15202/define-_QNX_SOURCE.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7209>
_______________________________________


More information about the Python-bugs-list mailing list