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/ChangeLog5
-rw-r--r--winsup/w32api/include/windef.h7
2 files changed, 12 insertions, 0 deletions
diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog
index ddaff9b3b..01858adc9 100644
--- a/winsup/w32api/ChangeLog
+++ b/winsup/w32api/ChangeLog
@@ -1,3 +1,8 @@
+2002-06-17 Casper S. Hornstrup <chorns@users.sourceforge.net>
+
+ * include/windef.h (_fastcall, __fastcall, FASTCALL):
+ Add defines.
+
2002-06-16 Egor Duda <deo@logos-m.ru>
* include/ntdll.h: New file.
diff --git a/winsup/w32api/include/windef.h b/winsup/w32api/include/windef.h
index 2f8f76b1c..aaf723349 100644
--- a/winsup/w32api/include/windef.h
+++ b/winsup/w32api/include/windef.h
@@ -51,6 +51,12 @@ extern "C" {
#ifdef __GNUC__
#define PACKED __attribute__((packed))
+#ifndef _fastcall
+#define _fastcall __attribute__((fastcall))
+#endif
+#ifndef __fastcall
+#define __fastcall __attribute__((fastcall))
+#endif
#ifndef _stdcall
#define _stdcall __attribute__((stdcall))
#endif
@@ -84,6 +90,7 @@ extern "C" {
#define PASCAL _pascal
#define CDECL _cdecl
#define STDCALL __stdcall
+#define FASTCALL __fastcall
#define WINAPI __stdcall
#define WINAPIV __cdecl
#define APIENTRY __stdcall