Use __forceinline keyword instead of always_inline attribute on windows

This commit is contained in:
Max Brunsfeld 2017-07-24 21:06:41 -07:00
parent b98669c7e6
commit f0e63adc84

View file

@ -10,7 +10,11 @@
#define MAX_NODE_POOL_SIZE 50
#define MAX_ITERATOR_COUNT 64
#ifdef _WIN32
#define inline __forceinline
#else
#define inline static inline __attribute__((always_inline))
#endif
typedef struct StackNode StackNode;