a6ab3980da
DeaDBeeF (as in 0xDEADBEEF) is an audio player for GNU/Linux, BSD, OpenSolaris and probably other UNIX-like systems. ok dcoppa@
15 lines
451 B
Plaintext
15 lines
451 B
Plaintext
$OpenBSD: patch-plugins_cdda_cdda_c,v 1.1.1.1 2012/08/08 18:06:48 shadchin Exp $
|
|
--- plugins/cdda/cdda.c.orig Thu May 31 03:16:28 2012
|
|
+++ plugins/cdda/cdda.c Tue Jun 5 21:57:26 2012
|
|
@@ -52,6 +52,10 @@
|
|
#define SAMPLESIZE 4 //bytes
|
|
#define BUFSIZE (CDIO_CD_FRAMESIZE_RAW * 2)
|
|
|
|
+#if defined(__GNUC__) && defined(__STRICT_ANSI__)
|
|
+#define alloca(size) __builtin_alloca(size)
|
|
+#endif
|
|
+
|
|
static DB_decoder_t plugin;
|
|
static DB_functions_t *deadbeef;
|
|
|