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:
authorDanny Smith <dannysmith@users.sourceforge.net>2006-01-29 03:33:21 +0300
committerDanny Smith <dannysmith@users.sourceforge.net>2006-01-29 03:33:21 +0300
commit0d80558dc448306fa4377f02d3fa5e6897245195 (patch)
tree1c710d0ef4c366b3a32d8277754006dd9ea89c61 /winsup/w32api/include
parentb8670a4764a891c1bd77e7486d89c2b0ab48027d (diff)
* include/winnt.h (FORCEINLINE): Define.
Diffstat (limited to 'winsup/w32api/include')
-rw-r--r--winsup/w32api/include/winnt.h9
1 files changed, 9 insertions, 0 deletions
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