summaryrefslogtreecommitdiff
path: root/audio/pulseaudio/patches/patch-src_pulsecore_macro.h
blob: 48accc7e83b1c5232215cadcc523b6be15e6abd8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-src_pulsecore_macro.h,v 1.1 2011/09/14 15:53:35 hans Exp $

--- src/pulsecore/macro.h.orig	2009-09-18 22:21:44.000000000 +0200
+++ src/pulsecore/macro.h	2011-09-08 12:44:25.798236549 +0200
@@ -37,6 +37,10 @@
 #error "Please include config.h before including this file!"
 #endif
 
+#ifdef __sun
+#define typeof	__typeof__
+#endif
+
 #ifndef PA_LIKELY
 #ifdef __GNUC__
 #define PA_LIKELY(x) (__builtin_expect(!!(x),1))