mirror of
https://github.com/SourMesen/Mesen.git
synced 2025-04-02 10:52:48 -04:00
Linux: Force some inline functions in clang (faster)
This commit is contained in:
parent
8378cb59ac
commit
cd665ae688
1 changed files with 6 additions and 2 deletions
|
@ -19,8 +19,12 @@
|
|||
|
||||
#include "../Utilities/UTF8Util.h"
|
||||
|
||||
#ifdef __GNUC__
|
||||
#define __forceinline
|
||||
#ifdef __clang__
|
||||
#define __forceinline __attribute__((always_inline))
|
||||
#else
|
||||
#ifdef __GNUC__
|
||||
#define __forceinline
|
||||
#endif
|
||||
#endif
|
||||
|
||||
using std::vector;
|
||||
|
|
Loading…
Add table
Reference in a new issue