summaryrefslogtreecommitdiff
path: root/multimedia/libmatroska/patches/patch-aa
blob: 75c70084fd67daf0cd96a07912fe92cfa746b766 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
$NetBSD: patch-aa,v 1.1.1.1 2004/04/07 12:52:16 salo Exp $

--- test/mux/test8.cpp.orig	2004-01-17 19:33:21.000000000 +0300
+++ test/mux/test8.cpp
@@ -276,7 +276,7 @@ int main(int argc, char **argv)
 						} else if (EbmlId(*ElementLevel2) == KaxMuxingApp::ClassInfos.GlobalId) {
 							KaxMuxingApp *pApp = static_cast<KaxMuxingApp*>(ElementLevel2);
 							pApp->ReadData(aStream.I_O());
-#if !defined(__CYGWIN__) && !defined(__APPLE__)
+#if !defined(__CYGWIN__) && !defined(__APPLE__) && !defined(__NetBSD__)
 							wprintf(L"Muxing App : %ls\n", UTFstring(*pApp).c_str());
 #else
 							printf("Muxing App : %s\n", UTFstring(*pApp).c_str());
@@ -284,7 +284,7 @@ int main(int argc, char **argv)
 						} else if (EbmlId(*ElementLevel2) == KaxWritingApp::ClassInfos.GlobalId) {
 							KaxWritingApp *pApp = static_cast<KaxWritingApp*>(ElementLevel2);
 							pApp->ReadData(aStream.I_O());
-#if !defined(__CYGWIN__) && !defined(__APPLE__)
+#if !defined(__CYGWIN__) && !defined(__APPLE__) && !defined(__NetBSD__)
 							wprintf(L"Writing App : %ls (éàôï)\n", UTFstring(*pApp).c_str());
 #else
 							printf("Writing App : %s (éàôï)\n", UTFstring(*pApp).c_str());
@@ -603,7 +603,7 @@ int main(int argc, char **argv)
 											unsigned int Index4;
 											for (Index4 = 0; Index4<aDisplay.ListSize() ;Index4++) {
 												if (aDisplay[Index4]->Generic().GlobalId == KaxChapterString::ClassInfos.GlobalId) {
-#if !defined(__CYGWIN__) && !defined(__APPLE__)
+#if !defined(__CYGWIN__) && !defined(__APPLE__) && !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() );