Go to the documentation of this file.
24 #ifndef PXR_BASE_ARCH_FUNCTION_LITE_H
25 #define PXR_BASE_ARCH_FUNCTION_LITE_H
38 #define __ARCH_FUNCTION__ __func__
40 #if defined(ARCH_COMPILER_GCC) || defined(ARCH_COMPILER_ICC) || \
41 defined(ARCH_COMPILER_CLANG)
42 # define __ARCH_PRETTY_FUNCTION__ __PRETTY_FUNCTION__
43 #elif defined(ARCH_COMPILER_MSVC)
44 # define __ARCH_PRETTY_FUNCTION__ __FUNCSIG__
46 # define __ARCH_PRETTY_FUNCTION__ __ARCH_FUNCTION__
50 #if defined(BUILD_COMPONENT_SRC_PREFIX)
51 # define __ARCH_FILE__ BUILD_COMPONENT_SRC_PREFIX __FILE__
53 # define __ARCH_FILE__ __FILE__
56 #endif // PXR_BASE_ARCH_FUNCTION_LITE_H