mirror of
https://github.com/facebook/zstd.git
synced 2025-07-30 22:23:13 +03:00
Oopsie with fileio_common.h
This commit is contained in:
@ -16,13 +16,6 @@
|
||||
#include "platform.h"
|
||||
#include "timefn.h" /* UTIL_getTime, UTIL_clockSpanMicro */
|
||||
|
||||
#if !(defined(_MSC_VER) && _MSC_VER >= 1400) \
|
||||
&& !(!defined(__64BIT__) && (PLATFORM_POSIX_VERSION >= 200112L)) \
|
||||
&& !(defined(__MINGW32__) && !defined(__STRICT_ANSI__) && !defined(__NO_MINGW_LFS) && defined(__MSVCRT__)) \
|
||||
&& (defined(_WIN32) && !defined(__DJGPP__))
|
||||
# include <windows.h>
|
||||
#endif
|
||||
|
||||
/*-*************************************
|
||||
* Macros
|
||||
***************************************/
|
||||
@ -92,6 +85,7 @@ extern UTIL_time_t g_displayClock;
|
||||
# define LONG_SEEK fseeko64
|
||||
# define LONG_TELL ftello64
|
||||
#elif defined(_WIN32) && !defined(__DJGPP__)
|
||||
# include <windows.h>
|
||||
static int LONG_SEEK(FILE* file, __int64 offset, int origin) {
|
||||
LARGE_INTEGER off;
|
||||
DWORD method;
|
||||
|
Reference in New Issue
Block a user