Fix VS2013 compile error
This commit is contained in:
@@ -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 *
|
||||
******************************************/
|
||||
|
||||
Reference in New Issue
Block a user