gnulib: update to 776af40e0
[deliverable/binutils-gdb.git] / gnulib / import / getcwd-lgpl.c
index fca6bdefd347aa412ca96f9f46efef89a3e7cc23..e8c9e08cb33e309ed87c9f19571b267369153aa0 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2011-2020 Free Software Foundation, Inc.
+/* Copyright (C) 2011-2021 Free Software Foundation, Inc.
    This file is part of gnulib.
 
    This program is free software: you can redistribute it and/or modify
@@ -38,6 +38,10 @@ typedef int dummy;
    necessary.  */
 
 # undef getcwd
+# if defined _WIN32 && !defined __CYGWIN__
+#  define getcwd _getcwd
+# endif
+
 char *
 rpl_getcwd (char *buf, size_t size)
 {
This page took 0.023274 seconds and 4 git commands to generate.