Use __forceinline keyword instead of always_inline attribute on windows
This commit is contained in:
parent
b98669c7e6
commit
f0e63adc84
1 changed files with 4 additions and 0 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue