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