* include/winnt.h (FORCEINLINE): Define.

This commit is contained in:
Danny Smith
2006-01-29 00:33:21 +00:00
parent b8670a4764
commit 0d80558dc4
2 changed files with 13 additions and 0 deletions

View File

@@ -59,6 +59,15 @@ extern "C" {
#endif
#endif
#ifndef FORCEINLINE
#if (__GNUC__ >= 3)
#define FORCEINLINE __inline __attribute__((always_inline))
#else
#define FORCEINLINE __inline
#endif
#endif
#ifndef VOID
#define VOID void
#endif