Add a convenience macro for the fastcall attribute.

MFC after:	2 weeks
This commit is contained in:
Jung-uk Kim 2012-06-13 20:41:45 +00:00
parent a6c34d9e26
commit 455b486e6b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=237025

View File

@ -293,6 +293,12 @@
#define __nonnull(x)
#endif
#if __GNUC_PREREQ__(3, 4)
#define __fastcall __attribute__((__fastcall__))
#else
#define __fastcall
#endif
#if __GNUC_PREREQ__(4, 1)
#define __returns_twice __attribute__((__returns_twice__))
#else