From 38458c4d8feb96f2d763424408e0b75650125dae Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Sat, 18 Apr 2015 12:50:19 +0200 Subject: [PATCH] fixed alloca define to standard one (nw) --- src/osd/osdcomm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osd/osdcomm.h b/src/osd/osdcomm.h index 25a383f74f4..ddcb0bc9490 100644 --- a/src/osd/osdcomm.h +++ b/src/osd/osdcomm.h @@ -247,7 +247,7 @@ static __inline double log2(double x) { return log(x) * M_LOG2E; } #ifdef __GNUC__ #ifndef alloca -#define alloca __builtin_alloca +#define alloca(size) __builtin_alloca(size) #endif #endif