This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Commit 9974d83
1 parent 7f4f604 commit 9974d83 Copy full SHA for 9974d83
File tree 1 file changed +6
-1
lines changed
1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 23
23
# define unlikely (params ) (params)
24
24
25
25
#else // _MSC_VER
26
- # if zone_has_attribute (always_inline ) || zone_has_gnuc (3 , 1 )
26
+ # if (zone_has_attribute (always_inline ) || zone_has_gnuc (3 , 1 )) && ! defined __NO_INLINE__
27
+ // Compilation using GCC 4.2.1 without optimizations fails.
28
+ // sorry, unimplemented: inlining failed in call to ...
29
+ // GCC 4.1.2 and GCC 4.30 compile forward declared functions annotated
30
+ // with __attribute__((always_inline)) without problems. Test if
31
+ // __NO_INLINE__ is defined and define macro accordingly.
27
32
# define really_inline inline __attribute__((always_inline))
28
33
# else
29
34
# define really_inline inline
You can’t perform that action at this time.
0 commit comments