* 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

@ -1,3 +1,7 @@
2006-01-29 Danny Smith <dannysmith@users.sourceforge.net>
* include/winnt.h (FORCEINLINE): Define.
2006-01-26 Danny Smith <dannysmith@users.sourceforge.net>
* include/winnt.h (DECLSPEC_SELECTANY): Define.

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