Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--winsup/w32api/ChangeLog4
-rw-r--r--winsup/w32api/include/winnt.h9
2 files changed, 13 insertions, 0 deletions
diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog
index 2e56b4aef..f09136625 100644
--- a/winsup/w32api/ChangeLog
+++ b/winsup/w32api/ChangeLog
@@ -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.
diff --git a/winsup/w32api/include/winnt.h b/winsup/w32api/include/winnt.h
index 422d9c8c2..d7d8f6cc4 100644
--- a/winsup/w32api/include/winnt.h
+++ b/winsup/w32api/include/winnt.h
@@ -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