removed INLINE which prevent linking under Win32