Fix Api table copy operation and tools version checking.

Change-Id: Ia76d16f3ea6d0abb931813f90bc3bc2119da5999


[ROCm/ROCR-Runtime commit: 505d722b7d]
This commit is contained in:
Sean Keely
2017-02-04 15:08:07 -06:00
parent d984194fa5
commit de0fa51022
3 changed files with 53 additions and 53 deletions
@@ -92,6 +92,17 @@ static __forceinline unsigned long long int strtoull(const char* str,
#define PASTE2(x, y) x##y
#define PASTE(x, y) PASTE2(x, y)
#ifdef NDEBUG
#define debug_warning(exp)
#else
#define debug_warning(exp) \
do { \
if (!(exp)) \
fprintf(stderr, "Warning: " STRING(exp) " in %s, " __FILE__ ":" STRING(__LINE__) "\n", \
__PRETTY_FUNCTION__); \
} while (false);
#endif
// A macro to disallow the copy and move constructor and operator= functions
// This should be used in the private: declarations for a class
#define DISALLOW_COPY_AND_ASSIGN(TypeName) \