diff options
Diffstat (limited to 'src/libnut-1-ftello.patch')
-rw-r--r-- | src/libnut-1-ftello.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/libnut-1-ftello.patch b/src/libnut-1-ftello.patch new file mode 100644 index 0000000..e6e8afd --- /dev/null +++ b/src/libnut-1-ftello.patch @@ -0,0 +1,12 @@ +diff -Naur libnut-r681.orig/libnut/priv.h libnut-r681/libnut/priv.h +--- libnut-r681.orig/libnut/priv.h 2013-11-09 09:31:47.000000000 -0800 ++++ libnut-r681/libnut/priv.h 2013-11-23 16:56:13.085645547 -0800 +@@ -45,7 +45,7 @@ + #define ABS(a) ((a) > 0 ? (a) : -(a)) + + #if (defined(__MINGW32__) && !defined(__MINGW64_VERSION_MAJOR)) +-#define ftello(a) ((off_t)(_ftelli64(a))) ++#define ftello(a) ((off_t)(ftello64(a))) + #endif + + typedef struct { |