/* Must use __inline in Microsoft C */
#if defined(_MSC_VER)
-#define inline __inline
+#define __inline__ __inline
#endif
/* note that this is used for functions with large path counts,
}
}
-static inline uint32_t hash (uint32_t key) {
+static __inline__ uint32_t hash (uint32_t key) {
/* this may benefit from a proper hash function */
return key%ARBITRARY_HASH_BIN_COUNT;
}
}
/* Return a pointer to this path's specific path counter */
-static inline uint32_t* getPathCounter(uint32_t functionNumber,
+static __inline__ uint32_t* getPathCounter(uint32_t functionNumber,
uint32_t pathNumber) {
pathHashTable_t* hashTable;
pathHashEntry_t* hashEntry;