All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Signature.h
Go to the documentation of this file.
1 //=================================================================================================
20 //=================================================================================================
21 
22 #ifndef _BLAZE_SYSTEM_SIGNATURE_H_
23 #define _BLAZE_SYSTEM_SIGNATURE_H_
24 
25 
26 //=================================================================================================
27 //
28 // SIGNATURE MACRO
29 //
30 //=================================================================================================
31 
32 //*************************************************************************************************
41 // Intel compiler
42 #if defined(__INTEL_COMPILER) || defined(__ICL) || defined(__ICC) || defined(__ECC)
43 # define BLAZE_SIGNATURE __PRETTY_FUNCTION__
44 
45 // GNU compiler
46 #elif defined(__GNUC__)
47 # define BLAZE_SIGNATURE __PRETTY_FUNCTION__
48 
49 // Microsoft visual studio
50 #elif defined(_MSC_VER)
51 # define BLAZE_SIGNATURE __FUNCSIG__
52 
53 // All other compilers
54 #else
55 # define BLAZE_SIGNATURE "Unknown function"
56 #endif
57 //*************************************************************************************************
58 
59 #endif