[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: extragear/network/ktorrent/libbtcore
From: Carlo Segato <brandon.ml () gmail ! com>
Date: 2008-12-25 23:47:56
Message-ID: 1230248876.292752.21355.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 901565 by segato:
NAME_MAX isn't defined under mingw
M +3 -0 diskio/multifilecache.cpp
M +3 -0 diskio/singlefilecache.cpp
M +3 -0 util/win32.h
--- trunk/extragear/network/ktorrent/libbtcore/diskio/multifilecache.cpp #901564:901565
@@ -30,6 +30,9 @@
#include <util/functions.h>
#include <util/error.h>
#include <util/log.h>
+#ifdef Q_WS_WIN
+#include <util/win32.h>
+#endif
#include <torrent/torrent.h>
#include "cache.h"
#include "chunk.h"
--- trunk/extragear/network/ktorrent/libbtcore/diskio/singlefilecache.cpp #901564:901565
@@ -28,6 +28,9 @@
#include <util/error.h>
#include <util/functions.h>
#include <util/log.h>
+#ifdef Q_WS_WIN
+#include <util/win32.h>
+#endif
#include <torrent/torrent.h>
#include "chunk.h"
#include "cachefile.h"
--- trunk/extragear/network/ktorrent/libbtcore/util/win32.h #901564:901565
@@ -84,6 +84,9 @@
// #define poll(x, y, z) mingw_poll(x, y, z)
#endif
+#ifdef Q_CC_MINGW
+#define NAME_MAX 255
+#endif
/* These wrappers do nothing special except set the global errno variable if
* an error occurs (winsock doesn't do this by default). They set errno
* to unix-like values (i.e. WSAEWOULDBLOCK is mapped to EAGAIN), so code
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic