Fix always_inline attribute usage

This commit is contained in:
Max Brunsfeld 2016-03-10 12:11:49 -08:00
parent 07625808d3
commit be707970da

View file

@ -12,11 +12,7 @@
#define STARTING_TREE_CAPACITY 10
#define MAX_NODE_POOL_SIZE 50
#if __has_attribute(always_inline)
#define ALWAYS_INLINE __attribute__((always_inline))
#else
#define ALWAYS_INLINE
#endif
typedef struct StackNode StackNode;