[PATCH] for compat.h
lvqcl <[email protected]>
| Newsgroups | gmane.comp.audio.compression.flac.devel |
|---|---|
| Message-ID | <op.yuin95mbcba0by@userme-pc> |
Description: redefine inline as __inline only for C, not for C++. _______________________________________________ flac-dev mailing list [email protected] http://lists.xiph.org/mailman/listinfo/flac-dev
compat_inline.patch
(application/octet-stream, 312 B)
diff --git a/include/share/compat.h b/include/share/compat.h index 94edbd2..f74a5c1 100644 --- a/include/share/compat.h +++ b/include/share/compat.h @@ -72,7 +72,7 @@ #define strtoull _strtoui64 #endif -#if defined(_MSC_VER) +#if defined(_MSC_VER) && !defined(__cplusplus) #define inline __inline #endif