svn commit: r237665 - stable/9/sys/sys

看板FB_svn作者時間13年前 (2012/06/28 10:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
Author: jkim Date: Wed Jun 27 21:18:47 2012 New Revision: 237665 URL: http://svn.freebsd.org/changeset/base/237665 Log: MFC: r237025 Add a convenience macro for the fastcall attribute. Modified: stable/9/sys/sys/cdefs.h Directory Properties: stable/9/sys/ (props changed) Modified: stable/9/sys/sys/cdefs.h ============================================================================== --- stable/9/sys/sys/cdefs.h Wed Jun 27 21:13:00 2012 (r237664) +++ stable/9/sys/sys/cdefs.h Wed Jun 27 21:18:47 2012 (r237665) @@ -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 _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
文章代碼(AID): #1Fwy8ba2 (FB_svn)