mirror of
https://github.com/claunia/flac.git
synced 2025-12-16 18:54:26 +00:00
src/libFLAC/include/private/macros.h : Check GNUC version for MIN macro.
This commit is contained in:
@@ -32,7 +32,7 @@
|
|||||||
#ifndef FLAC__PRIVATE__MACROS_H
|
#ifndef FLAC__PRIVATE__MACROS_H
|
||||||
#define FLAC__PRIVATE__MACROS_H
|
#define FLAC__PRIVATE__MACROS_H
|
||||||
|
|
||||||
#if defined(__GNUC__)
|
#if defined(__GNUC__) && (__GNUC__ > 4) && (__GNUC_MINOR__ > 4)
|
||||||
|
|
||||||
#define flac_max(a,b) \
|
#define flac_max(a,b) \
|
||||||
({ __typeof__ (a) _a = (a); \
|
({ __typeof__ (a) _a = (a); \
|
||||||
|
|||||||
Reference in New Issue
Block a user