mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-24 10:52:56 +00:00
define QT_FASTCALL to hot attribute for architectures other than i386
this will trigger compiler warning when used in function prototype declarations but should be worth it Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
732a633e1b
commit
b8bbab93b6
1 changed files with 1 additions and 1 deletions
|
@ -363,7 +363,7 @@ QT_END_INCLUDE_NAMESPACE
|
|||
#if defined(QT_ARCH_I386)
|
||||
# define QT_FASTCALL __attribute__((regparm(3)))
|
||||
#else
|
||||
# define QT_FASTCALL
|
||||
# define QT_FASTCALL __attribute__((hot))
|
||||
#endif
|
||||
|
||||
// This logic must match the one in qmetatype.h
|
||||
|
|
Loading…
Add table
Reference in a new issue