From 3a9ebccdab55c77e7125d1fd5d300194f16714e4 Mon Sep 17 00:00:00 2001 From: skywind3000 Date: Fri, 6 May 2016 10:27:12 +0800 Subject: [PATCH] fixed warning in latest c++ compilers --- ikcp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ikcp.h b/ikcp.h index 5626693..42cee60 100644 --- a/ikcp.h +++ b/ikcp.h @@ -123,7 +123,7 @@ typedef unsigned long long IUINT64; #endif #endif -#ifndef inline +#if (!defined(__cplusplus)) && (!defined(inline)) #define inline INLINE #endif