Platform Macro
Windows (32-bit or 64-bit) _WIN32
Windows 64-bit only _WIN64
Linux (Ubuntu, Debian, etc.) __linux__
macOS __APPLE__
macro support meaning
__FILE__ C++ Expands to the current source file name as a string literal
__LINE__ C++ Expands to the current line number as an integer constant
__func__ C++ gives the function name
__PRETTY_FUNCTION__ GCC and Clang expands to a string describing the current function
__FUNCSIG__ MSCV expands to a string describing the current function