diff options
author | Ian Romanick <ian.d.romanick@intel.com> | 2009-07-06 13:23:46 -0700 |
---|---|---|
committer | Ian Romanick <ian.d.romanick@intel.com> | 2009-07-06 13:48:19 -0700 |
commit | a953b3270cef52dd2de70cc6aa08687af9d57815 (patch) | |
tree | 42161841142bc1b51f65060f80a96c0b2d7ce240 /tests/ttmtest/README | |
parent | 78fa590a1d297f2e2fea98bd3f0cbf4cdb1e3a08 (diff) |
libdrm: Set _XOPEN_SOURCE and _GNU_SOURCE
Several POSIX extensions are used in the libdrm code (e.g., mknod and ffs).
Set _XOPEN_SOURCE and _GNU_SOURCE to something reasonable to ensure that
prototypes for these functions are available. This is done in configure.ac
using AC_USE_SYSTEM_MACROS. This requires autoconf 2.60 or later. Eventually
the code should check for the existance of these defines and do something
reasonable if they are not available.
Inspired by a patch by Pauli Nieminen and suggestions from Julien Cristau.
Thanks.
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Diffstat (limited to 'tests/ttmtest/README')
0 files changed, 0 insertions, 0 deletions