TuttleOFX  1
TuttleOFX/libraries/tuttle/src/tuttle/common/system/windows/windows.h
Go to the documentation of this file.
00001 #ifndef _TUTTLE_WINDOWS_H_
00002 #define _TUTTLE_WINDOWS_H_
00003 
00004 #ifdef _MSC_VER
00005 
00006   #define _USE_MATH_DEFINES 1
00007 
00008   #define NOMINMAX 1
00009   #include <windows.h>
00010 
00011   #ifndef __PRETTY_FUNCTION__
00012    #ifndef __GNUC__
00013         #define __PRETTY_FUNCTION__ __FUNCDNAME__
00014    #endif
00015   #endif
00016 
00017 /*
00018  * __FUNCDNAME__
00019  * Valid only within a function and returns the decorated name of the enclosing function (as a string). __FUNCDNAME__ is not expanded if you use the /EP or /P compiler option.
00020  *
00021  * __FUNCSIG__
00022  * Valid only within a function and returns the signature of the enclosing function (as a string). __FUNCSIG__ is not expanded if you use the /EP or /P compiler option.
00023  * On a 64-bit operating system, the calling convention is __cdecl by default.
00024  *
00025  * __FUNCTION__
00026  * Valid only within a function and returns the undecorated name of the enclosing function (as a string). __FUNCTION__ is not expanded if you use the /EP or /P compiler option.
00027  */
00028 
00029 #endif
00030 
00031 #endif