Blaze 3.9
Signature.h
Go to the documentation of this file.
1//=================================================================================================
33//=================================================================================================
34
35#ifndef _BLAZE_SYSTEM_SIGNATURE_H_
36#define _BLAZE_SYSTEM_SIGNATURE_H_
37
38
39//=================================================================================================
40//
41// SIGNATURE MACRO
42//
43//=================================================================================================
44
45//*************************************************************************************************
54// Intel compiler
55#if defined(__INTEL_COMPILER) || defined(__ICL) || defined(__ICC) || defined(__ECC)
56# define BLAZE_SIGNATURE __PRETTY_FUNCTION__
57
58// GNU compiler
59#elif defined(__GNUC__)
60# define BLAZE_SIGNATURE __PRETTY_FUNCTION__
61
62// Microsoft visual studio
63#elif defined(_MSC_VER)
64# define BLAZE_SIGNATURE __FUNCSIG__
65
66// All other compilers
67#else
68# define BLAZE_SIGNATURE "Unknown function"
69#endif
70//*************************************************************************************************
71
72#endif