From 9ed3b6a907b62053171512fbab99d6617699a675 Mon Sep 17 00:00:00 2001 From: Ward Fisher Date: Tue, 3 Sep 2013 11:17:31 -0600 Subject: [PATCH] Somehow, several defines were deleted whilst working on LFS for Windows. This restores those definitions. --- config.h.in.cmake | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/config.h.in.cmake b/config.h.in.cmake index 9f179234a..cf4f1c564 100644 --- a/config.h.in.cmake +++ b/config.h.in.cmake @@ -11,7 +11,11 @@ #pragma warning( disable: 4018 4996 4244 4305 ) #define unlink _unlink #define open _open -#define off_t __int64 + #define close _close + #define read _read + #define lseek _lseeki64 + + #define off_t __int64 #define _off_t __int64 #ifndef _OFF_T_DEFINED