-
Notifications
You must be signed in to change notification settings - Fork 5
Home
Erik Rainey edited this page Apr 30, 2014
·
4 revisions
Welcome to the Concerto wiki!
Predefined Macros for Use in Programs Compiled with Concerto:
__GNUC__ = Gnu C Compiler
__clang__ = Clang Compiler (will have __GNUC__ defined too)
__TI_ARM__ = TI ARM Compiler
_MSC_VER = Microsoft Compiler
__TMS320C6X__ = TI C6x Compiler
__ARP32__ = TI ARP Compiler
_WIN32 = Windows NT, later, 32 bit
_WIN64 = Windows 64 bit
__linux__ = Linux
__CYGWIN__ = Cygwin
__QNX__ = QNX
__ANDROID__ = Android (will also have __linux__)
__APPLE__ = MacOSX (will also have __MACH__)
__unix__ = A Unix-like Environment
__cplusplus = C++
__STDC__ = C89 or later (not defined on Windows)
(__STDC_VERSION__ == 199901L) = C99
__amd64__ = AMD64 Extensions
__x86_64__ = x86 64 bit extensions
_M_X64 = 64 bit X86
_M_X86 = 32 bit X86
_M_ARM = 32 bit ARM