From 84a22571196f2487eff863bce0a2a87c896a40df Mon Sep 17 00:00:00 2001 From: Amine Khaldi Date: Thu, 26 Jan 2012 19:09:02 +0000 Subject: [PATCH] [CMAKE] * Define _inline to __inline when cross compiling. Dedicated to Alex. svn path=/trunk/; revision=55218 --- reactos/cmake/gcc.cmake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/reactos/cmake/gcc.cmake b/reactos/cmake/gcc.cmake index 75a8ebdeb01..dc82e51085c 100644 --- a/reactos/cmake/gcc.cmake +++ b/reactos/cmake/gcc.cmake @@ -74,6 +74,8 @@ elseif(ARCH MATCHES arm) add_definitions(-D__MSVCRT__) # DUBIOUS endif() +add_definitions(-D_inline=__inline) + # alternative arch name if(ARCH MATCHES amd64) set(ARCH2 x86_64)