[tlbuild] interact.cc and getline insanity

Mojca Miklavec mojca.miklavec.lists at gmail.com
Thu Apr 24 23:20:39 CEST 2014


On Thu, Apr 24, 2014 at 10:53 PM, John Bowman wrote:
> Thank Mojca,
>
> Can you please provide me with a conditional that distinguished POSIX2008
> systems from POSIX2003
> systems under Solaris? Maybe  just
>
> #if _POSIX_VERSION >= 200809L

I'm sorry, but I'm unable to find anything relevant. The only
difference between Solaris 10 and 11 seems to be an obscure variable
   #define _POSIX_ADVISORY_INFO 200112L
after #include <unistd.h>.

But maybe I need to include some other header to be able to check?

Please don't ask me why, but I get

#define _POSIX_VERSION 199506L
#define _POSIX2_VERSION 199209L

on both systems.

(I'm not claiming that everything is configured properly on that box.
But that's the way it is set up there.)

Mojca



More information about the tlbuild mailing list