pkgsrc-wip/DarwinStreamingServer/patches/patch-aj
daniel.eggert 6bbd5e8113 Darwin Streaming Server is the open source version of Apple's QuickTime
Streaming Server technology that allows you to send streaming media to clients
across the Internet using the industry standard RTP and RTSP protocols.

Initial commit.
2005-12-20 19:03:10 +00:00

30 lines
795 B
Text

$NetBSD: patch-aj,v 1.1.1.1 2005/12/20 19:03:10 danieleggert Exp $
--- PlatformHeader.h.orig 2005-12-09 18:18:00.000000000 +0000
+++ PlatformHeader.h 2005-12-09 18:20:17.000000000 +0000
@@ -144,6 +144,26 @@
#define EXPORT
#define _REENTRANT 1
+#elif __NetBSD__
+
+#define USE_ATOMICLIB 0
+#define MACOSXEVENTQUEUE 0
+#define __PTHREADS__ 1
+#define __PTHREADS_MUTEXES__ 1
+#include <machine/endian.h>
+#if BYTE_ORDER == BIG_ENDIAN
+ #define BIGENDIAN 1
+#else
+ #define BIGENDIAN 0
+#endif
+#define ALLOW_NON_WORD_ALIGN_ACCESS 1
+#define USE_THREAD 1 //Flag used in QTProxy
+#define THREADING_IS_COOPERATIVE 1
+#define USE_THR_YIELD 0
+#define kPlatformNameString "NetBSD"
+#define EXPORT
+#define _REENTRANT 1
+
#elif __solaris__
#ifdef sparc