]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - include/environ.h
Update copyright years.
[thirdparty/gcc.git] / include / environ.h
index 326a27812db2bdd1562dad00a121c070d3d41d89..0caa1a796f496f81b19be0fa62f92165a754c530 100644 (file)
@@ -1,5 +1,5 @@
 /* Declare the environ system variable.
-   Copyright (C) 2015-2017 Free Software Foundation, Inc.
+   Copyright (C) 2015-2024 Free Software Foundation, Inc.
 
 This file is part of the libiberty library.
 Libiberty is free software; you can redistribute it and/or
@@ -27,7 +27,9 @@ Boston, MA 02110-1301, USA.  */
 #     include <crt_externs.h>
 #     define environ (*_NSGetEnviron ())
 #  else
+#    ifndef environ
 extern char **environ;
+#    endif
 #  endif
 #  define HAVE_ENVIRON_DECL
 #endif