Skip to content

Commit

Permalink
Use __forceinline on MSVC
Browse files Browse the repository at this point in the history
  • Loading branch information
p12tic committed May 27, 2016
1 parent db8f68b commit 6d72631
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions simdpp/setup_arch.h
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,8 @@
// workarounds
#if __GNUC__
#define SIMDPP_INL __attribute__((__always_inline__)) inline
#elif _MSC_VER
#define SIMDPP_INL __forceinline
#else
#define SIMDPP_INL inline
#endif
Expand Down

0 comments on commit 6d72631

Please sign in to comment.