twinaphex/genesis-next — comment on commit 62ee45296bd1e23ca9dede6461caa59d0d0f7357
File:  line 0
By ekeeke:

I see yes, though it's strange gcc is giving me errors with ine but NOT with _inline_ when "-ansi std=c89 -pedantic-errors" is used...
And from what you say, MSVC actually DOES support inlining but through a different keyword ? What a mess...
Wouldn't it be easier in your MSVC Makefile to define _inline_=_inline if it is what it understands ?

I know about the code coming from MAME (YMxxxx/68K/Z80) defining INLINE macro but I am not going to revert all of them to "static INLINE" like you did when cleaner/faster solutions exist. Also, does that mean MSVC is also so crappy it does not support such things as define INLINE="status _inline" ?

As that point, another solution would be to just force INLINE definition in the code (types.h for example) with #ifdef MSVC or something like that (doesn't Microsoft Compiler defines some kind of pragma to specify code what compiler is running ?)