diff options
-rw-r--r-- | include/platform.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/platform.h b/include/platform.h index fe68547f0..12cb4d5a7 100644 --- a/include/platform.h +++ b/include/platform.h | |||
@@ -102,9 +102,9 @@ | |||
102 | * on non-static, busybox internal functions. Recent versions of gcc | 102 | * on non-static, busybox internal functions. Recent versions of gcc |
103 | * optimize statics automatically. FAST_FUNC on static is required | 103 | * optimize statics automatically. FAST_FUNC on static is required |
104 | * only if you need to match a function pointer's type */ | 104 | * only if you need to match a function pointer's type */ |
105 | #if __GNUC_PREREQ(3,0) && defined(i386) | 105 | #if __GNUC_PREREQ(3,0) && defined(i386) /* || defined(__x86_64__)? */ |
106 | /* || defined(__x86_64__)? */ | 106 | /* stdcall makes callee to pop arguments from stack, not caller */ |
107 | # define FAST_FUNC __attribute__((regparm(3))) | 107 | # define FAST_FUNC __attribute__((regparm(3),stdcall)) |
108 | /* #elif ... - add your favorite arch today! */ | 108 | /* #elif ... - add your favorite arch today! */ |
109 | #else | 109 | #else |
110 | # define FAST_FUNC | 110 | # define FAST_FUNC |