summaryrefslogtreecommitdiff
path: root/src/share/replaygain_synthesis/replaygain_synthesis.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/share/replaygain_synthesis/replaygain_synthesis.c')
-rw-r--r--src/share/replaygain_synthesis/replaygain_synthesis.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/share/replaygain_synthesis/replaygain_synthesis.c b/src/share/replaygain_synthesis/replaygain_synthesis.c
index 895791a5..e5615766 100644
--- a/src/share/replaygain_synthesis/replaygain_synthesis.c
+++ b/src/share/replaygain_synthesis/replaygain_synthesis.c
@@ -44,10 +44,8 @@
#include "replaygain_synthesis.h"
#include "FLAC/assert.h"
-#if defined _MSC_VER
-#define FLAC__INLINE __inline
-#else
-#define FLAC__INLINE
+#ifndef FLaC__INLINE
+#define FLaC__INLINE
#endif
/* adjust for compilers that can't understand using LL suffix for int64_t literals */
@@ -238,7 +236,7 @@ void FLAC__replaygain_synthesis__init_dither_context(DitherContext *d, int bits,
* the following is based on parts of wavegain.c
*/
-static FLAC__INLINE FLAC__int64 dither_output_(DitherContext *d, FLAC__bool do_dithering, int shapingtype, int i, double Sum, int k)
+static FLaC__INLINE FLAC__int64 dither_output_(DitherContext *d, FLAC__bool do_dithering, int shapingtype, int i, double Sum, int k)
{
union {
double d;