summaryrefslogtreecommitdiffstats
path: root/system/qstardict/gcc4.4.patch
blob: db4b3157a744eedb8d5fc9a4749b86fd9daeebdb (plain)
--- 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
     {