aboutsummaryrefslogtreecommitdiff
path: root/include/compat/sys/stat.h
diff options
context:
space:
mode:
authorBrent Cook <busterb@gmail.com>2025-04-16 04:26:34 -0500
committerBrent Cook <busterb@gmail.com>2025-04-16 04:26:34 -0500
commit9ba4b33d668230aa0c453f5c225dc93ccc007985 (patch)
treeb77fc287a04188cd7a65a4fc1d6d372bf876aa28 /include/compat/sys/stat.h
parent06297aa3cee4591b50dc7cc51353a5fca1e3ae13 (diff)
downloadportable-9ba4b33d668230aa0c453f5c225dc93ccc007985.tar.gz
portable-9ba4b33d668230aa0c453f5c225dc93ccc007985.tar.bz2
portable-9ba4b33d668230aa0c453f5c225dc93ccc007985.zip
change prefix for fstat
Diffstat (limited to 'include/compat/sys/stat.h')
-rw-r--r--include/compat/sys/stat.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/compat/sys/stat.h b/include/compat/sys/stat.h
index aa15c9a..57aa521 100644
--- a/include/compat/sys/stat.h
+++ b/include/compat/sys/stat.h
@@ -119,10 +119,10 @@
119#endif 119#endif
120 120
121#ifdef _WIN32 121#ifdef _WIN32
122int posix_fstat(int fd, struct stat *statbuf); 122int libressl_fstat(int fd, struct stat *statbuf);
123 123
124#ifndef NO_REDEF_POSIX_FUNCTIONS 124#ifndef NO_REDEF_POSIX_FUNCTIONS
125#define fstat(fd, statbuf) posix_fstat(fd, statbuf) 125#define fstat(fd, statbuf) libressl_fstat(fd, statbuf)
126#endif 126#endif
127#endif 127#endif
128 128