]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
curl_setup.h: drop stray `#undef stat` (Windows)
authorViktor Szakats <commit@vsz.me>
Thu, 13 Nov 2025 22:47:10 +0000 (23:47 +0100)
committerViktor Szakats <commit@vsz.me>
Fri, 14 Nov 2025 00:47:12 +0000 (01:47 +0100)
Follow-up to 9678ff5b1bfea1c847aee4f9edf023e8f01c9293 #18776

Closes #19519

lib/curl_setup.h

index 7c033623c5ff9fd32424da145b62d0ffc97fdf8d..d41c9b8ceabca37ef5a882c565d1a09fcd69e258 100644 (file)
 #    define lseek(fdes, offset, whence)  _lseeki64(fdes, offset, whence)
 #    undef  fstat
 #    define fstat(fdes,stp)              _fstati64(fdes, stp)
-#    undef  stat
 #    define struct_stat                  struct _stati64
 #    define LSEEK_ERROR                  (__int64)-1
 #  else