#include #ifdef __cplusplus extern "C"{ #endif //------------------------------------------------------------------------------ void main(void) { printf("\n"); #ifdef WIN16 printf("WIN16 , "); #endif #ifdef WIN32 printf("WIN32 , "); #endif #ifdef WIN64 printf("WIN64 , "); #endif #ifdef _WIN16 printf("_WIN16 , "); #endif #ifdef _WIN32 printf("_WIN32 , "); #endif #ifdef _WIN64 printf("_WIN64 , "); #endif #ifdef macintosh printf("macintosh , "); #endif #ifdef __unix__ printf("UNIX , "); #endif #ifdef DOS printf("DOS , "); #endif #ifdef __MSDOS__ printf("MS-DOS , "); #endif printf("\n\n"); #ifdef __BORLANDC__ printf("Borland C++, "); #endif #ifdef __GNUC__ printf("GCC, "); #endif #ifdef __LCC__ printf("LCC , "); #endif printf("\n<言語>\n"); #ifdef __cplusplus printf("C++ , "); #endif printf("\n<動作環境>\n"); #ifdef __CYGWIN__ printf("Cygwin , "); #endif #ifdef __MINGW32__ printf("Mingw32 , "); #endif #ifdef __i386_pc_gnu__ printf("__i386_pc_gnu__ , "); #endif printf("\n\n"); #ifdef __MSVCRT__ printf("MSVCRT.DLL , "); #else printf("CRTDLL.DLL , "); #endif printf("\n"); return; } #ifdef __cplusplus } #endif