summaryrefslogtreecommitdiffstats
path: root/winsup/w32api/include/windef.h
diff options
context:
space:
mode:
authorDanny Smith <dannysmith@users.sourceforge.net>2002-06-17 08:22:02 +0000
committerDanny Smith <dannysmith@users.sourceforge.net>2002-06-17 08:22:02 +0000
commit6cde27195c7527fde31eb06a2025f67657e06150 (patch)
tree96f9d38ef340789ead4b16fd04a9667481233fac /winsup/w32api/include/windef.h
parent00a9e8a063300528ce99a7656859f100521d53f3 (diff)
downloadcygnal-6cde27195c7527fde31eb06a2025f67657e06150.tar.gz
cygnal-6cde27195c7527fde31eb06a2025f67657e06150.tar.bz2
cygnal-6cde27195c7527fde31eb06a2025f67657e06150.zip
2002-06-17 Casper S. Hornstrup <chorns@users.sourceforge.net>
* include/windef.h (_fastcall, __fastcall, FASTCALL): Add defines.
Diffstat (limited to 'winsup/w32api/include/windef.h')
-rw-r--r--winsup/w32api/include/windef.h7
1 files changed, 7 insertions, 0 deletions
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