[F] Fixed msvc warnings

This commit is contained in:
seleznevae
2018-03-29 21:25:04 +03:00
parent c63c1fcfb2
commit 361d356dff
8 changed files with 43 additions and 39 deletions

View File

@@ -58,11 +58,16 @@ SOFTWARE.
#define FT_RESTRICT __restrict
#endif /* if defined(FT_CLANG_COMPILER) */
#else
#if defined(FT_MICROSOFT_COMPILER)
#define FT_RESTRICT restrict
#else
#if __STDC_VERSION__ < 199901L
#define FT_RESTRICT
#else
#define FT_RESTRICT restrict
#endif /* __STDC_VERSION__ < 199901L */
#endif /* if defined(FT_MICROSOFT_COMPILER) */
#endif /* if defined(__cplusplus) */