aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/tools/m4/lib/platform
diff options
context:
space:
mode:
authorthegeorg <thegeorg@yandex-team.com>2024-10-18 23:33:49 +0300
committerthegeorg <thegeorg@yandex-team.com>2024-10-18 23:42:50 +0300
commit1e95bf12278f195bc3450875f66f7304b8b269b9 (patch)
tree3058b269d5c203a1e079411bc86b99640ebe9a5b /contrib/tools/m4/lib/platform
parent2a43a3e9b68e16667f292702458482a8e6539e50 (diff)
downloadydb-1e95bf12278f195bc3450875f66f7304b8b269b9.tar.gz
contrib/tools/m4: Remove windows-specific libc replacements
commit_hash:ec4d153d072b7dc65470431459aa432df6b2e82a
Diffstat (limited to 'contrib/tools/m4/lib/platform')
-rw-r--r--contrib/tools/m4/lib/platform/win64/fcntl.h2
-rw-r--r--contrib/tools/m4/lib/platform/win64/sys/stat.h2
-rw-r--r--contrib/tools/m4/lib/platform/win64/unistd.h4
3 files changed, 4 insertions, 4 deletions
diff --git a/contrib/tools/m4/lib/platform/win64/fcntl.h b/contrib/tools/m4/lib/platform/win64/fcntl.h
index 0637e64b9f..ffb456dfe5 100644
--- a/contrib/tools/m4/lib/platform/win64/fcntl.h
+++ b/contrib/tools/m4/lib/platform/win64/fcntl.h
@@ -426,7 +426,7 @@ _GL_WARN_ON_USE (fcntl, "fcntl is not always POSIX compliant - "
#endif
#if 1
-# if 1
+# if 0
# if !(defined __cplusplus && defined GNULIB_NAMESPACE)
# undef open
# define open rpl_open
diff --git a/contrib/tools/m4/lib/platform/win64/sys/stat.h b/contrib/tools/m4/lib/platform/win64/sys/stat.h
index bf7dc29f6e..14f1f4cc32 100644
--- a/contrib/tools/m4/lib/platform/win64/sys/stat.h
+++ b/contrib/tools/m4/lib/platform/win64/sys/stat.h
@@ -944,7 +944,7 @@ _GL_WARN_ON_USE (mknodat, "mknodat is not portable - "
#if 1
-# if 1
+# if 0
/* We can't use the object-like #define stat rpl_stat, because of
struct stat. This means that rpl_stat will not be used if the user
does (stat)(a,b). Oh well. */
diff --git a/contrib/tools/m4/lib/platform/win64/unistd.h b/contrib/tools/m4/lib/platform/win64/unistd.h
index 3980820c14..5b809eb4f5 100644
--- a/contrib/tools/m4/lib/platform/win64/unistd.h
+++ b/contrib/tools/m4/lib/platform/win64/unistd.h
@@ -1325,7 +1325,7 @@ _GL_WARN_ON_USE (linkat, "linkat is unportable - "
Return the new offset if successful, otherwise -1 and errno set.
See the POSIX:2008 specification
<http://pubs.opengroup.org/onlinepubs/9699919799/functions/lseek.html>. */
-# if 1
+# if 0
# if !(defined __cplusplus && defined GNULIB_NAMESPACE)
# define lseek rpl_lseek
# endif
@@ -1537,7 +1537,7 @@ _GL_WARN_ON_USE (readlinkat, "readlinkat is not portable - "
#if 1
/* Remove the directory DIR. */
-# if 1
+# if 0
# if !(defined __cplusplus && defined GNULIB_NAMESPACE)
# define rmdir rpl_rmdir
# endif