[Matroska-devel] simple fix to test/mux/test8.cpp for NetBSD
Lubomir Sedlacik
salo at Xtrmntr.org
Tue Jul 27 06:37:02 CEST 2004
hi,
attached is a trivial fix from pkgsrc to compile test8.cpp on NetBSD.
regards,
--
-- Lubomir Sedlacik <salo@{NetBSD,Xtrmntr,silcnet}.org> --
-------------- next part --------------
$NetBSD: patch-aa,v 1.2 2004/07/27 04:14:56 salo Exp $
--- test/mux/test8.cpp.orig 2004-07-09 23:05:36.000000000 +0200
+++ test/mux/test8.cpp 2004-07-27 05:57:12.000000000 +0200
@@ -273,7 +273,7 @@
} else if (EbmlId(*ElementLevel2) == KaxMuxingApp::ClassInfos.GlobalId) {
KaxMuxingApp *pApp = static_cast<KaxMuxingApp*>(ElementLevel2);
pApp->ReadData(aStream.I_O());
-#if !defined(__CYGWIN__) && !defined(__APPLE__) && !defined(__BEOS__)
+#if !defined(__CYGWIN__) && !defined(__APPLE__) && !defined(__BEOS__) && !defined(__NetBSD__)
wprintf(L"Muxing App : %ls\n", UTFstring(*pApp).c_str());
#else
printf("Muxing App : %s\n", UTFstring(*pApp).c_str());
@@ -281,7 +281,7 @@
} else if (EbmlId(*ElementLevel2) == KaxWritingApp::ClassInfos.GlobalId) {
KaxWritingApp *pApp = static_cast<KaxWritingApp*>(ElementLevel2);
pApp->ReadData(aStream.I_O());
-#if !defined(__CYGWIN__) && !defined(__APPLE__) && !defined(__BEOS__)
+#if !defined(__CYGWIN__) && !defined(__APPLE__) && !defined(__BEOS__) && !defined(__NetBSD__)
wprintf(L"Writing App : %ls (????)\n", UTFstring(*pApp).c_str());
#else
printf("Writing App : %s (????)\n", UTFstring(*pApp).c_str());
@@ -600,7 +600,7 @@
unsigned int Index4;
for (Index4 = 0; Index4<aDisplay.ListSize() ;Index4++) {
if (aDisplay[Index4]->Generic().GlobalId == KaxChapterString::ClassInfos.GlobalId) {
-#if !defined(__CYGWIN__) && !defined(__APPLE__) && !defined(__BEOS__)
+#if !defined(__CYGWIN__) && !defined(__APPLE__) && !defined(__BEOS__) && !defined(__NetBSD__)
wprintf(L" Display \"%s\"\n", UTFstring(*static_cast<EbmlUnicodeString *>(aDisplay[Index4])).c_str() );
#else
printf(" Display \"%s\"\n", UTFstring(*static_cast<EbmlUnicodeString *>(aDisplay[Index4])).c_str() );
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
URL: <http://lists.matroska.org/pipermail/matroska-devel/attachments/20040727/de774be6/attachment.pgp>
More information about the Matroska-devel
mailing list