Add a convenience macro for the fastcall attribute.
MFC after: 2 weeks
This commit is contained in:
parent
a6c34d9e26
commit
455b486e6b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=237025
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user