Skip to content
Snippets Groups Projects
Unverified Commit 65e2c932 authored by Ken Matsui's avatar Ken Matsui
Browse files

libstdc++: Use using instead of typedef in opts-common.h


libstdc++-v3/ChangeLog:

	* src/filesystem/ops-common.h (stat_type): Use using.

Signed-off-by: default avatarKen Matsui <kmatsui@gcc.gnu.org>
Reviewed-by: default avatarJonathan Wakely <jwakely@redhat.com>
parent df147e2e
No related branches found
No related tags found
Loading
......@@ -118,7 +118,7 @@ namespace __gnu_posix
inline int close(int fd)
{ return ::_close(fd); }
typedef struct ::__stat64 stat_type;
using stat_type = struct ::__stat64;
inline int stat(const wchar_t* path, stat_type* buffer)
{ return ::_wstat64(path, buffer); }
......@@ -184,7 +184,7 @@ namespace __gnu_posix
using ::open;
using ::close;
# ifdef _GLIBCXX_HAVE_SYS_STAT_H
typedef struct ::stat stat_type;
using stat_type = struct ::stat;
using ::stat;
# ifdef _GLIBCXX_USE_LSTAT
using ::lstat;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment