Macros | |
#define | _DEBUG |
Defined to enable the creation of debug code. | |
#define | NDEBUG |
Defined to disable the creation of debug code. | |
#define | BURGER_WATCOM __WATCOMC__ |
Define to determine if code is being built using Open Watcom compiler. | |
#define | BURGER_MRC __MRC__ |
Define to determine if code is being built using Apple/Motorola MrC compiler. | |
#define | BURGER_APPLE_SC __SC__ |
Define to determine if code is being built using Apple/Motorola SC compiler. | |
#define | BURGER_BORLAND __BORLANDC__ |
Define to determine if code is being built using the Borland C compiler. | |
#define | BURGER_DJGPP ((__DJGPP__ * 100) + __DJGPP_MINOR__) |
Define to determine if code is being built using DJGPP compiler. | |
#define | BURGER_SNSYSTEMS __SN_VER__ |
Define to determine if code is being built using Green Hills compiler. | |
#define | BURGER_GHS __GHS_VERSION_NUMBER |
Define to determine if code is being built using Green Hills compiler. | |
#define | BURGER_INTEL_COMPILER ((__INTEL_COMPILER * 10) + __INTEL_COMPILER_UPDATE) |
Define to determine if code is being built using Intel compiler. | |
#define | BURGER_MINGW |
Define to determine if code is being built using MinGW compilers. | |
#define | BURGER_CLANG ((__clang_major__ * 10000) + (__clang_minor__ * 100) + __clang_patchlevel__) |
Define to determine if code is being built using the clang compiler. | |
#define | BURGER_GNUC ((__GNUC__ * 10000) + (__GNUC_MINOR__ * 100) + __GNUC_PATCHLEVEL__) |
Define to determine if code is being built using the GNU C family of compilers. | |
#define | BURGER_METROWERKS __MWERKS__ |
Define to determine if code is being built using Freescale/Metrowerks family of compilers. | |
#define | BURGER_ARM_COMPILER __ARMCC_VERSION |
Define to determine if code is being built using Advanced RISC Machines family of compilers. | |
#define | BURGER_MSVC _MSC_FULL_VER |
Define to determine if code is being built using Microsoft Visual C family of compilers. | |
#define | BURGER_COMPILER_NAME "Open Watcom Compiler" |
String of the name of the C++ compiler. | |
#define | BURGER_COMPILER_VERSION 1234 |
Integer of the version of the current compiler. | |
#define | BURGER_X86 |
Define to determine if code is being built for 32 bit Intel processors. | |
#define | BURGER_AMD64 |
Define to determine if code is being built for AMD64 (Intel 64 bit) compatible processors. | |
#define | BURGER_ITANIUM |
Define to determine if code is being built for Intel Itanium compatible processors. | |
#define | BURGER_ARM32 |
Define to determine if code is being built for 32 bit Advanced RISC Machine processors. | |
#define | BURGER_ARM64 |
Define to determine if code is being built for 64 bit Advanced RISC Machine processors. | |
#define | BURGER_MIPS32 |
Define to determine if code is being built for MIPS 32 bit processors. | |
#define | BURGER_MIPS64 |
Define to determine if code is being built for MIPS 64 bit processors. | |
#define | BURGER_POWERPC |
Define to determine if code is being built for 32 bit PowerPC processors. | |
#define | BURGER_POWERPC64 |
Define to determine if code is being built for 64 bit PowerPC processors. | |
#define | BURGER_68K |
Define to determine if code is being built for Motorola 680x0 processors. | |
#define | BURGER_RISCV |
Define to determine if code is being built for 32 bit RISC-V processors. | |
#define | BURGER_AVR |
Define to determine if code is being built for 32 bit Atmel AVR processors. | |
#define | BURGER_MSP430 |
Define to determine if code is being built for 16 bit MSP430 processors from Texas Instruments. | |
#define | BURGER_SPARC32 |
Define to determine if code is being built for 32 bit Sparc processors from Sun. | |
#define | BURGER_SPARC64 |
Define to determine if code is being built for 64 bit Sparc processors from Sun. | |
#define | BURGER_NANOMIPS32 |
Define to determine if code is being built for 32 bit nanoMIPS processors from Sun. | |
#define | BURGER_SH32 |
Define to determine if code is being built for 32 bit SuperH processors from HItachi. | |
#define | BURGER_S390 |
Define to determine if code is being built for 64 bit IBM System/390 processors. | |
#define | BURGER_KVX |
Define to determine if code is being built for 32 bit Kalray KVX processor. | |
#define | BURGER_BPF |
Define to determine if code is being built for 64 bit eBPF pseudocode. | |
#define | BURGER_MRISC32 |
Define to determine if code is being built for 32 bit vector CPU by Marcus Geelnard. | |
#define | BURGER_CPU_NAME "The name of the CPU" |
String of the name of the CPU. | |
#define | BURGER_3DNOW |
Define to determine if code is being built with AMD 3D Now! instruction set extensions. | |
#define | BURGER_XBOX |
Define to determine if code is being built for the Microsoft XBox. | |
#define | BURGER_XBOX360 |
Define to determine if code is being built for the Microsoft XBox 360. | |
#define | BURGER_XBOXONE |
Define to determine if code is being built for the Microsoft XBox One. | |
#define | BURGER_MSDOS |
Define to determine if code is being built for Microsoft MS-DOS. | |
#define | BURGER_DOS4G |
Define to determine if MS-DOS code is being built with the DOS4G DOS extender. | |
#define | BURGER_X32 |
Define to determine if MS-DOS code is being built with the X32 DOS extender. | |
#define | BURGER_WINDOWS |
Define to determine if code is being built for Microsoft 32 or 64 bit Windows. | |
#define | BURGER_WIN32 |
Define to determine if code is being built for Microsoft 32 bit Windows. | |
#define | BURGER_WIN64 |
Define to determine if code is being built for Microsoft 64 bit Windows. | |
#define | BURGER_PS1 |
Define to determine if code is being built for the Sony Playstation. | |
#define | BURGER_PS2 |
Define to determine if code is being built for the Emotion Engine CPU for a PS2. | |
#define | BURGER_PS3 |
Define to determine if code is being built for the PS3. | |
#define | BURGER_PS4 |
Define to determine if code is being built for the PS4. | |
#define | BURGER_PS5 |
Define to determine if code is being built for the PS5. | |
#define | BURGER_PSP |
Define to determine if code is being built for the Sony PSP. | |
#define | BURGER_VITA |
Define to determine if code is being built for the Sony VITA. | |
#define | BURGER_ANDROID |
Define to determine if code is being built for Google Android devices. | |
#define | BURGER_STADIA |
Define to determine if code is being built for Google Stadia. | |
#define | BURGER_SHIELD |
Define to determine if code is being built for nVidia SHIELD devices. | |
#define | BURGER_OUYA |
Define to determine if code is being built for the OUYA. | |
#define | BURGER_GBA |
Define to determine if code is being built for the Nintendo Gameboy Advanced. | |
#define | BURGER_DS |
Define to determine if code is being built for the Nintendo DS. | |
#define | BURGER_3DS |
Define to determine if code is being built for the Nintendo 3DS. | |
#define | BURGER_GAMECUBE |
Define to determine if code is being built for the Nintendo GameCube. | |
#define | BURGER_WII |
Define to determine if code is being built for the Nintendo Wii. | |
#define | BURGER_WIIU |
Define to determine if code is being built for the Nintendo WiiU. | |
#define | BURGER_SWITCH |
Define to determine if code is being built for the Nintendo Switch. | |
#define | BURGER_BEOS |
Define to determine if code is being built for BeOS. | |
#define | BURGER_SYMBIAN |
Define to determine if code is being built for the Symbian OS. | |
#define | BURGER_NGAGE |
Define to determine if code is being built for the Nokia Ngage. | |
#define | BURGER_AMIGA |
Define to determine if code is being built for the Commodore Amiga. | |
#define | BURGER_MAC |
Define to determine if code is being built for Apple Mac OS 7.5.3 through 9.2. | |
#define | BURGER_CFM |
Define to determine if Mac OS 9 code is being built in Code Fragment Manger format. | |
#define | BURGER_MACCLASSIC |
Define to determine if code is being built exclusively for Apple Mac OS9. | |
#define | BURGER_MACCARBON |
Define to determine if code is being built for both Apple Mac OS9 and MacOS X. | |
#define | TARGET_API_MAC_CARBON 1 |
Define to determine if Mac OS 9 code is being built with the Carbon libraries. | |
#define | BURGER_IOS |
Define to determine if code is being built for Apple iOS devices. | |
#define | BURGER_MACOSX |
Define to determine if code is being built exclusively for Apple Mac OS X. | |
#define | BURGER_LINUX |
Define to determine if code is being built for Linux. | |
#define | BURGER_ARDUINO |
Define to determine if code is being built for Arduino. | |
#define | BURGER_STEAM |
Define for the presence of Valve's Steam platform. | |
#define | BURGER_PLATFORM_NAME "Microsoft XBox 360" |
String with the operating system's name. | |
#define | BURGER_LITTLEENDIAN |
Define to flag code running on a little endian machine. | |
#define | BURGER_FASTCALLENABLED |
Flag for determining Intel assembly generation. | |
#define | BURGER_STRUCT_ALIGN |
Defined if the compiler uses Macintosh style data alignment commands. | |
#define | BURGER_STRUCT_PACK |
Defined if the compiler uses GNU style data alignment commands. | |
#define | BURGER_STRUCT_PACKPUSH |
Defined if the compiler uses Microsoft style data alignment commands. | |
#define | BURGER_NO_ALIGN |
Per object alignment is not supported. | |
#define | nullptr 0 |
Defined to nothing if the feature is not available. | |
#define | __underlying_type(x) |
Defined if __underlying_type is not available. | |
#define | BURGER_INT_NOT_IN_STDINT |
Is int used in stdint.h. |
#define __underlying_type | ( | x | ) |
Defined if __underlying_type is not available.
If the feature __underlying_type isn't supported by the compiler, this macro will be defined to int to allow code to compile on older compilers.
#define _DEBUG |
Defined to enable the creation of debug code.
If this define exists, debugging information is included while compiling. This is used to flag whether debug code is to be included in the build and/or BURGER_ASSERT is to operate. Only _DEBUG or NDEBUG can exist at a time. Specifying both or neither is considered a fatal compile error. This define is not supplied by Burgerlib, it must be defined by the build project.
#define BURGER_3DNOW |
Define to determine if code is being built with AMD 3D Now! instruction set extensions.
If this define exists, then code is created to run on the AMD line of processors with 3D Now! instructions.
Click here to read the 3D Now! instruction set
#define BURGER_3DS |
Define to determine if code is being built for the Nintendo 3DS.
If this define exists, then code is created to run on the Nintendo 3DS.
#define BURGER_68K |
Define to determine if code is being built for Motorola 680x0 processors.
If this define exists, then the code runs on the Motorola 680x0 line of processors. The classic Macintosh, Commodore Amiga, and certain PDAs will have this define present.
#define BURGER_AMD64 |
Define to determine if code is being built for AMD64 (Intel 64 bit) compatible processors.
If this define exists, then the code runs on the AMD 64 and other compatible processors. The Microsoft Win64 and Mac OSX 64 platforms which are running on Pentium and AMD CPUs in 64 bit mode will have this define present.
#define BURGER_AMIGA |
Define to determine if code is being built for the Commodore Amiga.
If this define exists, then code is created to run on the Amiga for 68K or PowerPC.
#define BURGER_ANDROID |
Define to determine if code is being built for Google Android devices.
If this define exists, then code is created to run on Google Android devices.
#define BURGER_APPLE_SC __SC__ |
Define to determine if code is being built using Apple/Motorola SC compiler.
If this define exists, then the code is being compiled with the Apple SC compiler
#define BURGER_ARDUINO |
Define to determine if code is being built for Arduino.
If this define exists, then code is created to run on Arduino devices.
#define BURGER_ARM32 |
Define to determine if code is being built for 32 bit Advanced RISC Machine processors.
If this define exists, then the code runs on the Advanced RISC Machines 32 bit line of processors. The Gameboy Advanced, Nintendo DS, Nokia NGage, Apple iPad/iPhone/iPod and certain cell phones will have this define present.
#define BURGER_ARM64 |
Define to determine if code is being built for 64 bit Advanced RISC Machine processors.
If this define exists, then the code runs on the Advanced RISC Machines 64 bit line of processors. Apple iPad/iPhone/iPod/Mac, Nintendo Switch, and certain cell phones will have this define present.
#define BURGER_ARM_COMPILER __ARMCC_VERSION |
Define to determine if code is being built using Advanced RISC Machines family of compilers.
If this define exists, then the code is being compiled with the ARM compiler
#define BURGER_AVR |
Define to determine if code is being built for 32 bit Atmel AVR processors.
If this define exists, then the code runs on the Atmel AVR line of processors. Micro controllers will have this define present.
#define BURGER_BEOS |
Define to determine if code is being built for BeOS.
If this define exists, then code is created to run on BeOS for Intel or PowerPC.
#define BURGER_BORLAND __BORLANDC__ |
Define to determine if code is being built using the Borland C compiler.
If this define exists, then the code is being compiled with the Borland C compiler
#define BURGER_BPF |
Define to determine if code is being built for 64 bit eBPF pseudocode.
If this define exists, then the code runs on the eBPF jit virtual CPU.
#define BURGER_CFM |
Define to determine if Mac OS 9 code is being built in Code Fragment Manger format.
If this define exists, then code is created in which the final binary is in PEF format for use with the Code Fragment Manager. All Power PC code for Classic or Carbon is in this format and 68k also can be compiled this way.
#define BURGER_CLANG ((__clang_major__ * 10000) + (__clang_minor__ * 100) + __clang_patchlevel__) |
Define to determine if code is being built using the clang compiler.
If this define exists, then the code is being compiled with the clang compiler
#define BURGER_COMPILER_NAME "Open Watcom Compiler" |
String of the name of the C++ compiler.
This define is of a string naming the compiler.
#define BURGER_COMPILER_VERSION 1234 |
Integer of the version of the current compiler.
This define is of an integer for the version of the compiler.
The value is compiler specific, and must be checked for the specific compiler before testing this number against a constant.
#define BURGER_CPU_NAME "The name of the CPU" |
String of the name of the CPU.
"C" string of the name of the CPU.
#define BURGER_DJGPP ((__DJGPP__ * 100) + __DJGPP_MINOR__) |
Define to determine if code is being built using DJGPP compiler.
If this define exists, then the code is being compiled with the DJGPP compiler
#define BURGER_DOS4G |
Define to determine if MS-DOS code is being built with the DOS4G DOS extender.
If this define exists, then code is created to run on classic MS-DOS with the DOS4G DOS extender.
#define BURGER_DS |
Define to determine if code is being built for the Nintendo DS.
If this define exists, then code is created to run on the Nintendo DS.
#define BURGER_FASTCALLENABLED |
Flag for determining Intel assembly generation.
This flag is defined only if the target platform is Intel and the parameter passing is in the __fastcall format.
Some targets require parameters to be passed in the __cdecl format, so this will allow the selection of the proper assembly header and footer without having to create complicated #ifdefs
#define BURGER_GAMECUBE |
Define to determine if code is being built for the Nintendo GameCube.
If this define exists, then code is created to run on the Gekko processor for the Nintendo GameCube.
#define BURGER_GBA |
Define to determine if code is being built for the Nintendo Gameboy Advanced.
If this define exists, then code is created to run on the Nintendo Gameboy Advanced.
#define BURGER_GHS __GHS_VERSION_NUMBER |
Define to determine if code is being built using Green Hills compiler.
If this define exists, then the code is being compiled with the Green Hills Software compiler
#define BURGER_GNUC ((__GNUC__ * 10000) + (__GNUC_MINOR__ * 100) + __GNUC_PATCHLEVEL__) |
Define to determine if code is being built using the GNU C family of compilers.
If this define exists, then the code is being compiled with the GNUC compiler
#define BURGER_INT_NOT_IN_STDINT |
Is int used in stdint.h.
If this define is present, int isn't used in the int32_t family of data types, so if a series of functions wish to allow a function to be automatically called using int as a parameter, a function specifically using int as an input must be declared.
#define BURGER_INTEL_COMPILER ((__INTEL_COMPILER * 10) + __INTEL_COMPILER_UPDATE) |
Define to determine if code is being built using Intel compiler.
If this define exists, then the code is being compiled with the Intel compiler
#define BURGER_IOS |
Define to determine if code is being built for Apple iOS devices.
If this define exists, then code is created to run on Apple iOS devices.
#define BURGER_ITANIUM |
Define to determine if code is being built for Intel Itanium compatible processors.
If this define exists, then the code runs on the Intel Itanium compatible processors. The Microsoft Win64 and Linux which are running on Itanium compatible processors will have this define present.
#define BURGER_KVX |
Define to determine if code is being built for 32 bit Kalray KVX processor.
If this define exists, then the code runs on the KVX line of 32 bit processors from Kalray.
#define BURGER_LINUX |
Define to determine if code is being built for Linux.
If this define exists, then code is created to run on Linux.
#define BURGER_LITTLEENDIAN |
Define to flag code running on a little endian machine.
This define or BURGER_BIGENDIAN will be present to allow the programmer to create code that can properly parse endian specific data. Only one macro will be defined.
If this macro is present, the machine the code is being built for is little endian.
#define BURGER_MAC |
Define to determine if code is being built for Apple Mac OS 7.5.3 through 9.2.
If this define exists, then code is created to run on Apple MacOS version 7.5.3 through 9.2. Since MacOS runs on the 680x0 or the PowerPC architectures, a check BURGER_68K or BURGER_POWERPC for any CPU specific code or features. Also, on 680x0 platforms, the code may be compiling with the Code Fragment Manager format, and to detect that, check for the presence of BURGER_CFM.
#define BURGER_MACCARBON |
Define to determine if code is being built for both Apple Mac OS9 and MacOS X.
If this define exists, then code is created to run on Apple MacOS 9 and for Apple MacOS X. Only the PowerPC is supported. Since MacOS Carbon support is enabled, accessing the low memory operating system variables is NOT allowed.
#define BURGER_MACCLASSIC |
Define to determine if code is being built exclusively for Apple Mac OS9.
If this define exists, then code is created to run on Apple MacOS 7.5 through 9 for either PowerPC or 68K. There is no support for MacOS X operating systems under this build target. The CPU can be either BURGER_POWERPC or BURGER_68K for this platform, so no CPU specific code should be written without checking for the CPU type. Since no MacOS Carbon support is enabled, accessing the low memory operating system variables is allowed.
#define BURGER_MACOSX |
Define to determine if code is being built exclusively for Apple Mac OS X.
If this define exists, then code is created to run on Apple MacOS X using Mach-O. There is no support for pre-MacOS X operating systems under this build target. The CPU can be either BURGER_POWERPC, BURGER_AMD64, BURGER_X86, or BURGER_ARM64 for this platform, so no CPU specific code should be written without checking for the CPU type.
#define BURGER_METROWERKS __MWERKS__ |
Define to determine if code is being built using Freescale/Metrowerks family of compilers.
If this define exists, then the code is being compiled with the Freescale / Metrowerks compiler
#define BURGER_MINGW |
Define to determine if code is being built using MinGW compilers.
If this define exists, then the code is being compiled with the MinGW compiler
#define BURGER_MIPS32 |
Define to determine if code is being built for MIPS 32 bit processors.
If this define exists, then the code runs on the MIPS 32 bit line of processors. R5900 (PS2), R3300 (PS1) and R4400 (PSP) all will have this define present.
#define BURGER_MIPS64 |
Define to determine if code is being built for MIPS 64 bit processors.
If this define exists, then the code runs on the MIPS 64 bit line of 64 bit processors.
#define BURGER_MRC __MRC__ |
Define to determine if code is being built using Apple/Motorola MrC compiler.
If this define exists, then the code is being compiled with the MrC compiler
#define BURGER_MRISC32 |
Define to determine if code is being built for 32 bit vector CPU by Marcus Geelnard.
If this define exists, then the code runs on the MRISC32 CPU.
More information can be found here
#define BURGER_MSDOS |
Define to determine if code is being built for Microsoft MS-DOS.
If this define exists, then code is created to run on classic MS-DOS.
Check for the defines BURGER_X32 or BURGER_DOS4G to determine which dos extender is being used.
#define BURGER_MSP430 |
Define to determine if code is being built for 16 bit MSP430 processors from Texas Instruments.
If this define exists, then the code runs on the MSP430 line of 16 bit processors. Micro controllers will have this define present.
#define BURGER_MSVC _MSC_FULL_VER |
Define to determine if code is being built using Microsoft Visual C family of compilers.
If this define exists, then the code is being compiled with the Microsoft Visual C compiler.
#define BURGER_NANOMIPS32 |
Define to determine if code is being built for 32 bit nanoMIPS processors from Sun.
If this define exists, then the code runs on the nanoMIPS line of 32 bit processors.
#define BURGER_NGAGE |
Define to determine if code is being built for the Nokia Ngage.
If this define exists, then code is created to run on the Nokia NGage.
#define BURGER_NO_ALIGN |
Per object alignment is not supported.
On older compilers, the ability to set the alignment of individual object is not supported. This macro exists on those compilers to alert code to be written to handle this case.
#define BURGER_OUYA |
Define to determine if code is being built for the OUYA.
If this define exists, then code is created to run on OUYA Android devices.
#define BURGER_PLATFORM_NAME "Microsoft XBox 360" |
String with the operating system's name.
This string is of the operating system the code is being compiled for.
#define BURGER_POWERPC |
Define to determine if code is being built for 32 bit PowerPC processors.
If this define exists, then the code runs on a 32 bit PowerPC processor. The Nintendo GameCube, Power Macintosh and the Nintendo Wii all will have this define present.
#define BURGER_POWERPC64 |
Define to determine if code is being built for 64 bit PowerPC processors.
If this define exists, then the code runs on a 64 bit PowerPC processor. The G5 Power Macintosh, Sony Playstation 3 and Microsoft XBox 360 all will have this define present.
#define BURGER_PS1 |
Define to determine if code is being built for the Sony Playstation.
If this define exists, then code is created to run on the Sony Playstation.
#define BURGER_PS2 |
Define to determine if code is being built for the Emotion Engine CPU for a PS2.
If this define exists, then code is created to run on the main processor for the Sony Playstation 2.
#define BURGER_PS3 |
Define to determine if code is being built for the PS3.
If this define exists, then code is created to run on the main processor for the Sony Playstation 3.
#define BURGER_PS4 |
Define to determine if code is being built for the PS4.
If this define exists, then code is created to run on the Sony Playstation 4.
#define BURGER_PS5 |
Define to determine if code is being built for the PS5.
If this define exists, then code is created to run on the Sony Playstation 5.
#define BURGER_PSP |
Define to determine if code is being built for the Sony PSP.
If this define exists, then code is created to run on the Sony Playstation Portable (PSP).
#define BURGER_RISCV |
Define to determine if code is being built for 32 bit RISC-V processors.
If this define exists, then the code runs on the RISC-V line of processors. Micro controllers will have this define present.
#define BURGER_S390 |
Define to determine if code is being built for 64 bit IBM System/390 processors.
If this define exists, then the code runs on the IBM Systemp/390 line of 64 bit processors. IBM servers will have this define present.
#define BURGER_SH32 |
Define to determine if code is being built for 32 bit SuperH processors from HItachi.
If this define exists, then the code runs on the SuperH line of 32 bit processors. Used by the Sega Dreamcast
#define BURGER_SHIELD |
Define to determine if code is being built for nVidia SHIELD devices.
If this define exists, then code is created to run on nVidia SHIELD Android devices.
#define BURGER_SNSYSTEMS __SN_VER__ |
Define to determine if code is being built using Green Hills compiler.
If this define exists, then the code is being compiled with the SN Systems compiler
#define BURGER_SPARC32 |
Define to determine if code is being built for 32 bit Sparc processors from Sun.
If this define exists, then the code runs on the Sparc line of 32 bit processors. Sun servers will have this define present.
#define BURGER_SPARC64 |
Define to determine if code is being built for 64 bit Sparc processors from Sun.
If this define exists, then the code runs on the Sparc line of 64 bit processors. Sun servers will have this define present.
#define BURGER_STADIA |
Define to determine if code is being built for Google Stadia.
If this define exists, then code is created to run on the Google Stadia streaming console.
#define BURGER_STEAM |
Define for the presence of Valve's Steam platform.
If this define exists, then the Steam platform is supported. TCP/IP can be assumed to be available with this define present.
#define BURGER_STRUCT_ALIGN |
Defined if the compiler uses Macintosh style data alignment commands.
Compilers can be set to change the default alignment of data structures. If alignment for a specific header needs to be set, you will need to insert this code as a prefix and a postfix to make sure that the compiler settings are overridden.
This is useful for data structures that are mapped to the contents of a loaded file.
#define BURGER_STRUCT_PACK |
Defined if the compiler uses GNU style data alignment commands.
Compilers can be set to change the default alignment of data structures. If alignment for a specific header needs to be set, you will need to insert this code as a prefix and a postfix to make sure that the compiler settings are overridden.
This is useful for data structures that are mapped to the contents of a loaded file.
#define BURGER_STRUCT_PACKPUSH |
Defined if the compiler uses Microsoft style data alignment commands.
Compilers can be set to change the default alignment of data structures. If alignment for a specific header needs to be set, you will need to insert this code as a prefix and a postfix to make sure that the compiler settings are overridden.
This is useful for data structures that are mapped to the contents of a loaded file.
#define BURGER_SWITCH |
Define to determine if code is being built for the Nintendo Switch.
If this define exists, then code is created to run on the Arm64 processor for the Nintendo Switch.
#define BURGER_SYMBIAN |
Define to determine if code is being built for the Symbian OS.
If this define exists, then code is created to run on the Symbian OS, usually Nokia brand cell phones and PDAs.
#define BURGER_VITA |
Define to determine if code is being built for the Sony VITA.
If this define exists, then code is created to run on the Sony Playstation Portable 2 (PSP2 / Vita).
#define BURGER_WATCOM __WATCOMC__ |
Define to determine if code is being built using Open Watcom compiler.
If this define exists, then the code is being compiled with the Open Watcom compiler
#define BURGER_WII |
Define to determine if code is being built for the Nintendo Wii.
If this define exists, then code is created to run on the Broadway processor for the Nintendo Wii.
#define BURGER_WIIU |
Define to determine if code is being built for the Nintendo WiiU.
If this define exists, then code is created to run on the Broadway processor for the Nintendo WiiU.
#define BURGER_WIN32 |
Define to determine if code is being built for Microsoft 32 bit Windows.
If this define exists, then code is created to run on Microsoft Windows for 32 bit CPUs.
#define BURGER_WIN64 |
Define to determine if code is being built for Microsoft 64 bit Windows.
If this define exists, then code is created to run on Microsoft Windows for 64 bit CPUs.
#define BURGER_WINDOWS |
Define to determine if code is being built for Microsoft 32 or 64 bit Windows.
If this define exists, then code is created to run on Microsoft Windows for either 32 or 64 bit CPUs.
#define BURGER_X32 |
Define to determine if MS-DOS code is being built with the X32 DOS extender.
If this define exists, then code is created to run on classic MS-DOS with the X32 DOS extender.
#define BURGER_X86 |
Define to determine if code is being built for 32 bit Intel processors.
If this define exists, then the code runs on the 32 bit Intel, AMD and other compatible processors. The Microsoft XBox, Mac OSX Intel and Win32 platforms which are running on Pentium, 386, 486, and AMD CPUs will have this define present.
#define BURGER_XBOX |
Define to determine if code is being built for the Microsoft XBox.
If this define exists, then code is created to run on the Intel Pentium III Coppermine for a Microsoft XBox.
#define BURGER_XBOX360 |
Define to determine if code is being built for the Microsoft XBox 360.
If this define exists, then code is created to run on the PowerPC 64 with VMX extensions on the Microsoft XBox360.
#define BURGER_XBOXONE |
Define to determine if code is being built for the Microsoft XBox One.
If this define exists, then code is created to run on the AMD Jaguar 8 core CPU on the Microsoft XBox One and compatible consoles.
#define NDEBUG |
Defined to disable the creation of debug code.
If this define exists, debugging information is not included while compiling. This is only present to force BURGER_ASSERT to vanish. Only _DEBUG or NDEBUG can exist at a time. Specifying both or neither is considered a fatal compile error. This define is not supplied by Burgerlib, it must be defined by the build project.
#define nullptr 0 |
Defined to nothing if the feature is not available.
On compilers that support nullptr, this macro does not exist. To support this feature on older compilers, this macro exists to simulate the feature
#define TARGET_API_MAC_CARBON 1 |
Define to determine if Mac OS 9 code is being built with the Carbon libraries.
Define this macro to 1 so code that runs under classic Mac OS will be compiled to link with the Carbon libraries.