slackbuilds_ponce/system/qstardict/gcc4.4.patch

13 lines
380 B
Diff
Raw Normal View History

--- 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
{