Project

General

Profile

Actions

Feature #13726

open

distinguish ourselves with a macro

Added by Joshua M. Clulow 20 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
lib - userland libraries
Start date:
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

As we try to get upstream patches into more and more software, it would help a lot to have a globally visible macro that identifies us as being illumos rather than conflating us with Solaris or any of our other UNIX heritage. While I appreciate that feature detection is always better, effectively every other operating system has a macro that people can use for simple #ifdef checks and our lack of one merely creates friction that need not exist.

I would propose that we define __illumos__ to be 1.

No data to display

Actions

Also available in: Atom PDF