[Info-vax] Prices of Microvax 3100's
Steven Schweda
sms.antinode at gmail.com
Tue May 15 10:30:44 EDT 2012
> [...] something like:
>
> #ifdef UNIX -> #if defined(UNIX) || defined (APPLE)
Wouldn't it be easier to define UNIX somewhere in the
build command(s) than to alter the source code that way?
And you'd probably want "__APPLE__", not "APPLE", for any
Mac-specific things:
smacg4x# touch empty.c ; cpp -dM empty.c | grep -i apple
#define __APPLE_CC__ 5465
#define __APPLE__ 1
#define __VERSION__ "4.0.1 (Apple Inc. build 5465)"
smacg4x# uname -a
Darwin smacg4x.antinode.info 9.8.0 Darwin Kernel Version
9.8.0: Wed Jul 15 16:57:01 PDT 2009;
root:xnu-1228.15.4~1/RELEASE_PPC Power Macintosh
More information about the Info-vax
mailing list