[SDK] Fix __forceinline definition for C++

This commit is contained in:
Victor Perevertkin 2020-09-24 05:33:35 +03:00
parent 33fe4333f4
commit 87a5311116
No known key found for this signature in database
GPG key ID: C750B7222E9C7830
3 changed files with 8 additions and 18 deletions

View file

@ -30,14 +30,6 @@
#include <specstrings.h>
#if defined(__GNUC__) && !defined(__forceinline)
# if ( __MINGW_GNUC_PREREQ(4, 3) && __STDC_VERSION__ >= 199901L)
# define __forceinline extern inline __attribute__((__always_inline__,__gnu_inline__))
# else
# define __forceinline extern __inline__ __attribute__((__always_inline__))
# endif
#endif
/* Handle ntintsafe here too */
#ifdef _NTINTSAFE_H_INCLUDED_
#ifndef _NTDEF_ /* Guard agains redefinition from ntstatus.h */