K
Kenneth Lantrip
trying to make something like this work...
#include <stdio.h>
int main (void) {
#if defined UNIX
printf("\n\n\n%s\n\n", "Program is running on a flavor of Unix.");
#endif
printf("Well, Is it?\n\n");
return 0;
}
Trying this under gcc in Debian. I need a way to discern whether it is
running under Win32 or Linux.
Thanks for your help.
#include <stdio.h>
int main (void) {
#if defined UNIX
printf("\n\n\n%s\n\n", "Program is running on a flavor of Unix.");
#endif
printf("Well, Is it?\n\n");
return 0;
}
Trying this under gcc in Debian. I need a way to discern whether it is
running under Win32 or Linux.
Thanks for your help.