pkgsrc-Users archive

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

Re: libevent on QNX 6.5.0



Hi Jan,

I committed a part of it differently.
getopt.h wasn't actually needed, so I just removed the include.
I added -D__EXT_POSIX2 via the pkgsrc makefile, as sunos is doing the
same nearby for __EXTENSIONS__.

for something like SA_RESTART, the least awful (future-proof) way to
handle it is to have:
#ifndef SA_RESTART
#define SA_RESTART typical-value-of-SA_RESTART (just in case)
#endif

With the intention that if SA_RESTART is implemented in the future, it
will automagically work correctly


Home | Main Index | Thread Index | Old Index