Re:A Generation Lost in the Bazaar (2012)
by mcguire on Tuesday December 30, 2014 @06:07PM
(#8817270)
"POSIX was just an example, and it is possible to write portable code using #ifdef.."
Yes, two ways. One way uses autoconf (and tests each individual option to see which branch of the ifdef to use) and the other uses Imake (and has a big, continuously maintained database of which option to use on each system).
Yes, two ways. One way uses autoconf (and tests each individual option to see which branch of the ifdef to use) and the other uses Imake (and has a big, continuously maintained database of which option to use on each system).