mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2025-02-26 05:40:49 +00:00
__restrict supported from VS 2005 and newer (#383)
Check if the MS compiler really supports this keyword.
This commit is contained in:
parent
36546a9efb
commit
04930d62d1
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ void fluid_time_config(void);
|
||||||
#define FLUID_RESTRICT restrict
|
#define FLUID_RESTRICT restrict
|
||||||
#elif defined(__clang__) || defined(__GNUC__) || defined(__GNUG__)
|
#elif defined(__clang__) || defined(__GNUC__) || defined(__GNUG__)
|
||||||
#define FLUID_RESTRICT __restrict__
|
#define FLUID_RESTRICT __restrict__
|
||||||
#elif defined(_MSC_VER)
|
#elif defined(_MSC_VER) && _MSC_VER >= 1400
|
||||||
#define FLUID_RESTRICT __restrict
|
#define FLUID_RESTRICT __restrict
|
||||||
#else
|
#else
|
||||||
#warning "Dont know how this compiler handles restrict pointers, refuse to use them."
|
#warning "Dont know how this compiler handles restrict pointers, refuse to use them."
|
||||||
|
|
Loading…
Reference in a new issue