Getting to the way it's supposed to be!
This commit is contained in:
14
modules/ufbx/test/testing_basics.h
Normal file
14
modules/ufbx/test/testing_basics.h
Normal file
@@ -0,0 +1,14 @@
|
||||
#ifndef UFBXT_TESTING_BASICS_INCLUDED
|
||||
#define UFBXT_TESTING_BASICS_INCLUDED
|
||||
|
||||
#define ufbxt_arraycount(arr) (sizeof(arr) / sizeof(*(arr)))
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
#define ufbxt_noinline __declspec(noinline)
|
||||
#elif defined(__clang__) || defined(__GNUC__)
|
||||
#define ufbxt_noinline __attribute__((noinline))
|
||||
#else
|
||||
#define ufbxt_noinline
|
||||
#endif
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user