Bug 918943 - Duplicate symbol errors linking WebRTC when using the 10.9 SDK with --disable-optimize. r=ethanhugg
authorSteven Michaud <smichaud@pobox.com>
Tue, 01 Oct 2013 20:29:50 -0500
changeset 149597 beacc621ec68f057d3bad9592c6408ff73751475
parent 149596 47451aa820b86b752ce3affdd634a408a8dae7cb
child 149598 e18473d7b8bbc7dec3e2544a518bd0f2a68dbf6f
push id1
push userroot
push dateMon, 20 Oct 2014 17:29:22 +0000
reviewersethanhugg
bugs918943
milestone27.0a1
Bug 918943 - Duplicate symbol errors linking WebRTC when using the 10.9 SDK with --disable-optimize. r=ethanhugg
media/webrtc/signaling/src/sipcc/core/sdp/sdp_os_defs.h
--- a/media/webrtc/signaling/src/sipcc/core/sdp/sdp_os_defs.h
+++ b/media/webrtc/signaling/src/sipcc/core/sdp/sdp_os_defs.h
@@ -22,12 +22,13 @@ typedef uint8_t    u8;
 typedef uint16_t   u16;
 typedef uint16_t   uint16;
 typedef uint32_t   u32;
 typedef uint32_t   uint32;
 typedef int32_t    int32;
 typedef int16_t    int16;
 typedef unsigned short ushort;
 typedef unsigned long  ulong;
+#ifndef __GNUC_STDC_INLINE__
 #define inline
-
+#endif
 
 #endif /* _SDP_OS_DEFS_H_ */