From 54bb1363a26b6a52cf1a8ecf1f16f76e9920956f Mon Sep 17 00:00:00 2001 From: Ash Wolf Date: Wed, 11 Jan 2023 23:26:04 +0000 Subject: get it to compile with clang --- compiler_and_linker/unsorted/InlineAsmPPC.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler_and_linker/unsorted/InlineAsmPPC.c') diff --git a/compiler_and_linker/unsorted/InlineAsmPPC.c b/compiler_and_linker/unsorted/InlineAsmPPC.c index 834432c..606b6af 100644 --- a/compiler_and_linker/unsorted/InlineAsmPPC.c +++ b/compiler_and_linker/unsorted/InlineAsmPPC.c @@ -47,7 +47,7 @@ static void DiadicOperatorPPC(IAExpr *left, short token, IAExpr *right); static void InlineAsm_ExpressionPPC(IAExpr *expr, SInt32 value); static void savepicbase(short reg, HashNameNode *name); -inline SInt32 ExtractValue(CInt64 value) { +CW_INLINE SInt32 ExtractValue(CInt64 value) { return (SInt32) CInt64_GetULong(&value); } -- cgit v1.2.3