summaryrefslogtreecommitdiff
path: root/Build/source/utils/psutils/psutils-1.21-PATCHES/patch-11-WIN32
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/utils/psutils/psutils-1.21-PATCHES/patch-11-WIN32')
-rw-r--r--Build/source/utils/psutils/psutils-1.21-PATCHES/patch-11-WIN326
1 files changed, 3 insertions, 3 deletions
diff --git a/Build/source/utils/psutils/psutils-1.21-PATCHES/patch-11-WIN32 b/Build/source/utils/psutils/psutils-1.21-PATCHES/patch-11-WIN32
index a30f877cfad..e811d4b31b4 100644
--- a/Build/source/utils/psutils/psutils-1.21-PATCHES/patch-11-WIN32
+++ b/Build/source/utils/psutils/psutils-1.21-PATCHES/patch-11-WIN32
@@ -1,6 +1,6 @@
diff -ur psutils-1.21.orig/psutil.h psutils-1.21/psutil.h
--- psutils-1.21.orig/psutil.h 2013-10-25 13:06:05.000000000 +0200
-+++ psutils-1.21/psutil.h 2013-10-25 13:29:41.000000000 +0200
++++ psutils-1.21/psutil.h 2013-10-28 09:20:42.000000000 +0100
@@ -26,6 +26,18 @@
#include <io.h>
#include <fcntl.h>
@@ -14,8 +14,8 @@ diff -ur psutils-1.21.orig/psutil.h psutils-1.21/psutil.h
+#define fseeko fseeko64
+#else
+#define off_t __int64
-+#define xfseeko xfseek64
-+#define xftello xftell64
++#define xftello _ftelli64
++#define xfseeko _fseeki64
+#endif
#else /* !WIN32 */
#define SET_BINARY(fp) (void)0