I can't find any info on what macro to use in an ifdef to determine the illumos kernel. I use __linux to catch Linux.
Filler for stackoverflow grammar check filler filler filler filler.
I can't find any info on what macro to use in an ifdef to determine the illumos kernel. I use __linux to catch Linux.
Filler for stackoverflow grammar check filler filler filler filler.
Illumos based kernels such as SmartOS and OpenIndiana use
__sunand it is sometimes suggested to check for both__sunand__SVR4.Update:
There will soon be an
__illumos__macro: https://www.illumos.org/issues/13726