Sean Barrett 11 yıl önce
ebeveyn
işleme
68b5ec9392
1 değiştirilmiş dosya ile 5 ekleme ve 1 silme
  1. 5 1
      stb_vorbis.c

+ 5 - 1
stb_vorbis.c

@@ -1085,7 +1085,11 @@ static void compute_accelerated_huffman(Codebook *c)
    }
 }
 
-static int __cdecl uint32_compare(const void *p, const void *q)
+static int
+#ifdef _MSC_VER // might also be needed on non-msvc Windows builds, so should be #ifdef WINDOWS?
+__cdecl
+#endif
+uint32_compare(const void *p, const void *q)
 {
    uint32 x = * (uint32 *) p;
    uint32 y = * (uint32 *) q;