mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2024-11-10 15:01:40 +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
|
||||
#elif defined(__clang__) || defined(__GNUC__) || defined(__GNUG__)
|
||||
#define FLUID_RESTRICT __restrict__
|
||||
#elif defined(_MSC_VER)
|
||||
#elif defined(_MSC_VER) && _MSC_VER >= 1400
|
||||
#define FLUID_RESTRICT __restrict
|
||||
#else
|
||||
#warning "Dont know how this compiler handles restrict pointers, refuse to use them."
|
||||
|
|
Loading…
Reference in a new issue