build: move curl stat struct type to the curlx namespace

To match surrounding curlx symbols and functions.

Follow-up to a84b041281 #20496

Closes #20508
This commit is contained in:
Viktor Szakats 2026-02-03 15:06:07 +01:00
parent fdca2e0fd3
commit 443a539fcf
No known key found for this signature in database
18 changed files with 30 additions and 30 deletions

View file

@ -45,10 +45,10 @@ HANDLE curlx_CreateFile(const char *filename,
HANDLE hTemplateFile);
#endif /* !CURL_WINDOWS_UWP */
#define curlx_fstat _fstati64
#define curl_struct_stat struct _stati64
#define curlx_struct_stat struct _stati64
FILE *curlx_win32_fopen(const char *filename, const char *mode);
FILE *curlx_win32_freopen(const char *filename, const char *mode, FILE *fh);
int curlx_win32_stat(const char *path, curl_struct_stat *buffer);
int curlx_win32_stat(const char *path, curlx_struct_stat *buffer);
int curlx_win32_open(const char *filename, int oflag, ...);
int curlx_win32_rename(const char *oldpath, const char *newpath);
#define CURLX_FOPEN_LOW curlx_win32_fopen
@ -60,7 +60,7 @@ int curlx_win32_rename(const char *oldpath, const char *newpath);
#define curlx_rename curlx_win32_rename
#else
#define curlx_fstat fstat
#define curl_struct_stat struct stat
#define curlx_struct_stat struct stat
#define CURLX_FOPEN_LOW fopen
#define CURLX_FREOPEN_LOW freopen
#define CURLX_FDOPEN_LOW fdopen