summaryrefslogtreecommitdiffstats
path: root/src/portable.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2010-06-15 11:11:10 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2010-06-15 11:11:10 (GMT)
commit0c6ee149829948582e5e5c1b96c8b3105b02672a (patch)
treeb47b3252c432a415bf772add061e451f5782d6c7 /src/portable.cpp
parenta1528245b280f1068daad8cd850ea345a3f8b568 (diff)
downloadDoxygen-0c6ee149829948582e5e5c1b96c8b3105b02672a.zip
Doxygen-0c6ee149829948582e5e5c1b96c8b3105b02672a.tar.gz
Doxygen-0c6ee149829948582e5e5c1b96c8b3105b02672a.tar.bz2
Release-1.7.0
Diffstat (limited to 'src/portable.cpp')
-rw-r--r--src/portable.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/portable.cpp b/src/portable.cpp
index eee8239..ff9b803 100644
--- a/src/portable.cpp
+++ b/src/portable.cpp
@@ -310,6 +310,17 @@ portable_off_t portable_ftell(FILE *f)
#endif
}
+FILE *portable_fopen(const char *fileName,const char *mode)
+{
+#if defined(_WIN32) && !defined(__CYGWIN__)
+ QString fn(fileName);
+ QString m(mode);
+ return _wfopen((wchar_t*)fn.ucs2(),(wchar_t*)m.ucs2());
+#else
+ return fopen(fileName,mode);
+#endif
+}
+
char portable_pathSeparator()
{
#if defined(_WIN32) && !defined(__CYGWIN__)