summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvisvgm/dvisvgm-1.3-PATCHES/patch-01-cpp
blob: 2472d5cfaa01062b146864ed14fd2145360d0af3 (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
diff -ur dvisvgm-1.3.orig/src/FileFinder.cpp dvisvgm-1.3/src/FileFinder.cpp
--- dvisvgm-1.3.orig/src/FileFinder.cpp	2013-05-13 13:15:57.000000000 +0200
+++ dvisvgm-1.3/src/FileFinder.cpp	2013-06-16 18:31:08.000000000 +0200
@@ -27,21 +27,12 @@
 #include "FontMap.h"
 #include "Message.h"
 
-using namespace std;
-
 #ifdef MIKTEX
 	#include "MessageException.h"
 	#include "MiKTeXCom.h"
 	static MiKTeXCom *miktex=0;
 #else
-	// unfortunately, the kpathsea headers are not C++-ready,
-	// so we have to wrap it with some ugly code
-	namespace KPS {
-		extern "C" {
-			#include <kpathsea/kpathsea.h>
-		}
-	}
-	using namespace KPS;
+	#include <kpathsea/kpathsea.h>
 #endif
 
 // ---------------------------------------------------