summaryrefslogtreecommitdiffstats
path: root/src/portable.cpp
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2010-06-15 11:11:10 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2010-06-15 11:11:10 (GMT)
commit1cbd7d2faa8d543f521b144a8120c3a1ba2f832f (patch)
treeb47b3252c432a415bf772add061e451f5782d6c7 /src/portable.cpp
parent6d2875bda7b5416f2e8c72ec8677b7164de86187 (diff)
downloadDoxygen-1cbd7d2faa8d543f521b144a8120c3a1ba2f832f.zip
Doxygen-1cbd7d2faa8d543f521b144a8120c3a1ba2f832f.tar.gz
Doxygen-1cbd7d2faa8d543f521b144a8120c3a1ba2f832f.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__)