Need _ILLUMOS #define
Issue #4
resolved
We really would like to have an _ILLUMOS define. It might be nice to define this to a numeric value (date based?) indicating a release. But for now just define it; we can set numeric values once we have something resembling a release policy (or even releases!)
This should go in sys/feature_tests.h.
(Arguably a compiler could also define illumos.)
Comments (4)
-
reporter -
reporter - changed title to Need _ILLUMOS #define
- edited description
-
reporter - changed status to resolved
fixes
#4Need _ILLUMOS #define→ <<cset 0793a85b9838>>
-
reporter fixes
#4Need _ILLUMOS #define→ <<cset dec69841b51b>>
- Log in to comment
Proposing the numeric value %3d%3d%3d (major, minor, micro). That gives us lots of room for minor and micro numbers (1000 each). To put this in context, if we bumped only the micro number every month, it would take 83 years to exhaust the numbers. Its unlikely that anyone is going to go that long without resetting a minor number.
We prefer this to dates, because dates can break in the face of multiple release trains. We recommend that micro numbers increment based on months from some date in the past. (August 2010 is the best choice for now, representing months since illumos announced.)