树上小屋

这是一个将艺术和工程融为一体的活计.

导航

收集了一些预定义宏

ANSI C:
__STDC_HOSTED__
__STDC__
__LINE__
__FILE__
__DATE__
__TIME__

C++:
__cplusplus

GCC:
__GNUC__
__GNUC_MINOR__
__GNUC_PATCHLEVEL__
__GNUG__    equivalent to testing (__GNUC__ && __cplusplus).

MinGW:
__MINGW32__
__STDC__
__GNUC__
_WIN32, __WINNT__, __MINGW32__, _X86_, i386, __GNUC__

VC:
_WIN32
_MSC_VER
_ATL_VER
_DEBUG    Defined when compiling with /LDd, /MDd, /MLd, and /MTd.
_M_IX86
_MT    Defined when /MD or /MDd (Multithreaded DLL) or /MT or /MTd (Multithreaded) is specified. 
_UNICODE

CYGWIN:
__CYGWIN32__

Intel Compiler:
__INTEL_COMPILER

Borland:
__WIN32__
__BORLANDC__

posted on 2007-05-17 08:18  euclid  阅读(582)  评论(0编辑  收藏  举报