#include <stdio.h>
int main() {
#ifdef _WIN32
printf("Windows 32 bit + 64 bit OS\n");
#elif __APPLE__
printf("Apple OS\n");
#elif __linux__
printf("Linux OS\n");
#elif TARGET_OS_IPHONE
printf("iPhone OS\n");
#elif TARGET_OS_MAC
printf("MAC OS\n");
#elif__ANDROID__
printf("Android OS\n");
#elif __unix__
printf("Unix OS\n");
#elif _POSIX_VERSION
printf("POSIX OS\n");
#elif BSD
printf("Solaris OS\n");
#elif __FreeBSD__
printf("FreeBSD OS\n");
#else
printf("Other OS\n");
#endif
return 0;
}
/*
run:
Windows 32 bit + 64 bit OS
*/