]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR bootstrap/40578 (FOPEN double defined used in ada/adaint.h:58)
authorDave Korn <dave.korn.cygwin@gmail.com>
Sun, 26 Jul 2009 15:09:10 +0000 (15:09 +0000)
committerDave Korn <davek@gcc.gnu.org>
Sun, 26 Jul 2009 15:09:10 +0000 (15:09 +0000)
commitf6c7fcc0d57109c145195175cad0c7d433b1f39a
tree031a5480960c46b8ab269e374fa54532a3f89cef
parentc2600c676cfe1b90c6536476c3dbf887953fcc50
re PR bootstrap/40578 (FOPEN double defined used in ada/adaint.h:58)

PR bootstrap/40578
* adaint.h (FOPEN, STAT, FSTAT, LSTAT, STRUCT_STAT): Rename from these
(GNAT_FOPEN, GNAT_STAT, GNAT_FSTAT, GNAT_LSTAT, GNAT_STRUCT_STAT): ...
to these.
(__gnat_stat): Adjust reference to STAT in prototype.
* adaint.c (__gnat_try_lock, __gnat_fopen, __gnat_file_length,
__gnat_named_file_length, __gnat_file_time_name, __gnat_file_time_fd,
__gnat_get_libraries_from_registry, __gnat_stat, __gnat_file_exists,
__gnat_is_regular_file, __gnat_is_directory, __gnat_is_readable_file,
__gnat_is_writable_file, __gnat_is_executable_file,
__gnat_set_writable, __gnat_set_executable, __gnat_set_non_writable,
__gnat_set_readable, __gnat_set_non_readable, __gnat_is_symbolic_link,
__gnat_copy_attribs): Adjust all references to the above.
* cstreams.c (__gnat_is_regular_file_fd): Likewise.

From-SVN: r150098
gcc/ada/ChangeLog
gcc/ada/adaint.c
gcc/ada/adaint.h
gcc/ada/cstreams.c