lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


2010/8/17 Philipp Janda <siffiejoe@gmx.net>:
> _XOPEN_SOURCE *does* the trick, but you need to put it before the lua
> includes (because they include stdlib.h somewhere) and you need to use
> #define _XOPEN_SOURCE 600
> for posix_openpt to be declared.

Shouldn't that kind of symbols be defined through command line options
(CPPFLAGS) so that they get defined *everywhere* for sure ?