summaryrefslogtreecommitdiffstats
path: root/system/qstardict/gcc4.4.patch
diff options
context:
space:
mode:
Diffstat (limited to 'system/qstardict/gcc4.4.patch')
-rw-r--r--system/qstardict/gcc4.4.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/system/qstardict/gcc4.4.patch b/system/qstardict/gcc4.4.patch
new file mode 100644
index 0000000000..db4b3157a7
--- /dev/null
+++ b/system/qstardict/gcc4.4.patch
@@ -0,0 +1,12 @@
+--- trunk/plugins/stardict/dictziplib.cpp 2009/07/10 15:01:40 446
++++ trunk/plugins/stardict/dictziplib.cpp 2009/08/06 07:32:12 447
+@@ -305,7 +305,7 @@
+
+ #ifdef Q_OS_UNIX
+ if (stat(fname.c_str(), &sb) || !S_ISREG(sb.st_mode))
+-#elif def Q_OS_WIN32
++#elif defined(Q_OS_WIN32)
+ if (_stat(fname.c_str(), &sb) || !(sb.stMode & _S_IFREG))
+ #endif
+ {
+