Fix VS2013 compile error

This commit is contained in:
Allen Byrne
2017-09-20 09:52:44 -05:00
parent d3b2e3cd7b
commit 9e9d2ccd40

View File

@@ -14,6 +14,15 @@
#ifndef USE_CASE_COMMON_H
#define USE_CASE_COMMON_H
/* Use FUNC to safely handle variations of C99 __func__ keyword handling */
#ifdef H5_HAVE_C99_FUNC
#define FUNC __func__
#elif defined(H5_HAVE_FUNCTION)
#define FUNC __FUNCTION__
#else
#error "We need __func__ or __FUNCTION__ to test function names!"
#endif
/******************************************
* Symbols used across multiple use cases *
******************************************/