Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion include/ncpathmgr.h
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ NCPD_MINGW | <mountpoint>/<path> | <drive>:<path>
#define WINPATH 1
#endif
#endif
#ifdef _WIN64
#ifdef _WIN32
#define STAT struct _stat64 *
#else
#define STAT struct _stat *
Expand Down
6 changes: 3 additions & 3 deletions libnczarr/zmap_file.c
Original file line number Diff line number Diff line change
Expand Up @@ -688,7 +688,7 @@ static int
platformtestcontentbearing(const char* canonpath)
{
int ret = 0;
#ifdef _WIN64
#ifdef _WIN32
struct _stat64 buf;
#else
struct stat buf;
Expand Down Expand Up @@ -1173,7 +1173,7 @@ static int
verify(const char* path, int isdir)
{
int ret = 0;
#ifdef _WIN64
#ifdef _WIN32
struct _stat64 buf;
#else
struct stat buf;
Expand All @@ -1193,7 +1193,7 @@ static int
verifykey(const char* key, int isdir)
{
int ret = 0;
#ifdef _WIN64
#ifdef _WIN32
struct _stat64 buf;
#else
struct stat buf;
Expand Down
2 changes: 1 addition & 1 deletion libnczarr/zplugins.c
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ NCZ_load_all_plugins(void)
int ret = NC_NOERR;
size_t i,j;
struct NCglobalstate* gs = NC_getglobalstate();
#ifdef _WIN64
#ifdef _WIN32
struct _stat64 buf;
#else
struct stat buf;
Expand Down
Loading