c89 compliant? (#237)

* Replace C++ comments into  C comments

* Move INLINE out of Makefile.common, move to fceu-types.h

An INLINE define is still existing in Makefile.common for msvc (dont
have a way to to test that). Moved the rest into fceu-types.h using the
one already existing from emu2413.h.

* Increase maximum volume for apu channels
This commit is contained in:
retro-wertz
2018-12-04 10:25:17 +08:00
committed by hizzlekizzle
parent 829a7552f1
commit b5803e0e1d
7 changed files with 34 additions and 37 deletions

View File

@@ -53,6 +53,19 @@ typedef unsigned long long uint64;
typedef long long int64;
#endif
#ifndef INLINE
#if defined(_MSC_VER)
#define INLINE __forceinline
#elif defined(__GNUC__)
#define INLINE __inline__
#elif defined(_MWERKS_)
#define INLINE inline
#else
#define INLINE
#endif
#endif
#if PSS_STYLE == 2
#define PSS "\\"