Re: [AD] Detecting SunOS/Solaris |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
> You need to document it in the docs and add a line in tools/grabber.c
too.
Done!
*** allegro._tx.old Sun Oct 6 20:30:25 2002
--- allegro._tx Sun Oct 6 20:30:27 2002
***************
*** 154,159 ****
--- 154,160 ----
OSTYPE_QNX - QNX
OSTYPE_MACOS - MacOS
OSTYPE_DARWIN - Darwin
+ OSTYPE_SUNOS - SunOS/Solaris
<endblock>
@@extern int @os_version;
@@extern int @os_revision;
*** grabber.c.old Sun Oct 6 20:32:03 2002
--- grabber.c Sun Oct 6 20:32:48 2002
***************
*** 2758,2763 ****
--- 2758,2764 ----
case OSTYPE_QNX: s = "QNX"; break;
case OSTYPE_MACOS: s = "MacOS"; break;
case OSTYPE_DARWIN: s = "Darwin"; break;
+ case OSTYPE_SUNOS: s = "SunOS/Solaris"; break;
default: s = "Unknown"; break;
}