aboutsummaryrefslogtreecommitdiff
path: root/system/qstardict/gcc4.4.patch
blob: db4b3157a744eedb8d5fc9a4749b86fd9daeebdb (plain)
1
2
3
4
5
6
7
8
9
10
11
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
     {