File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1010#include "native_client/src/include/build_config.h"
1111
1212/* MSVC supports "inline" only in C++ */
13- #if NACL_WINDOWS
13+ #if NACL_WINDOWS && defined( _MSC_VER )
1414# define INLINE __forceinline
1515#else
1616# define INLINE __inline__
Original file line number Diff line number Diff line change 1515#include "native_client/src/include/nacl_macros.h"
1616#include "native_client/src/include/portability.h"
1717
18- #if NACL_WINDOWS
18+ #if NACL_WINDOWS && defined( _MSC_VER )
1919# define FORCEINLINE __forceinline
2020#else
2121# define FORCEINLINE __inline __attribute__ ((always_inline))
Original file line number Diff line number Diff line change 1919#include "native_client/src/include/build_config.h"
2020#include "native_client/src/trusted/validator_ragel/decoder.h"
2121
22- #if NACL_WINDOWS
22+ #if NACL_WINDOWS && !defined( __GNUC__ )
2323# define FORCEINLINE __forceinline
2424#else
2525# define FORCEINLINE __inline __attribute__ ((always_inline))
You can’t perform that action at this time.
0 commit comments