quakedef.h: Define inline as __inline if !__cplusplus && _MSC_VER

git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@174 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
sezero 2010-05-31 10:55:59 +00:00
parent 3c1ba05bc0
commit aa07bc5c41
1 changed files with 4 additions and 0 deletions

View File

@ -65,6 +65,10 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#define __fp_attribute__(x)
#endif
#if defined(_MSC_VER) && !defined(__cplusplus)
#define inline __inline
#endif /* _MSC_VER */
#if defined(_WIN32) && !defined(WINDED)