gcc compile tweak

This commit is contained in:
Joseph Eagar
2009-09-09 08:29:38 +00:00
parent d79a976058
commit ae446d79e0

View File

@@ -243,7 +243,7 @@ behaviour, though it may not be the best in practice.
#if defined(_MSC_VER)
#define BM_INLINE static __forceinline
#else
#define BM_INLINE static forceinline
#define BM_INLINE static inline __attribute((always_inline))
#endif
#define BMEMSET(mem, val, size) {int _i; char *_c = mem; for (_i=0; _i<size; _i++) *_c++ = val;}