slackbuilds_ponce/system/qstardict/gcc4.4.patch
Branko Grubic 9c9ca6bead system/qstardict: Added (stardict clone in qt)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
2010-07-02 10:04:04 -05:00

12 lines
380 B
Diff

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