mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 01:07:52 +00:00
gdb/dwarf: Fix MinGW build
Unfortunately MinGW doesn't support std::future yet, so this causes the build to fail. Use GDB's version which provides a fallback for this case. Tested for regressions on native aarch64-linux. Approved-By: Tom Tromey <tromey@adacore.com>
This commit is contained in:
@@ -442,7 +442,7 @@ private:
|
||||
vec_type m_vector;
|
||||
|
||||
/* A future that tracks when the 'index_write' method is done. */
|
||||
std::future<void> m_write_future;
|
||||
gdb::future<void> m_write_future;
|
||||
};
|
||||
|
||||
#endif /* GDB_DWARF2_COOKED_INDEX_H */
|
||||
|
||||
Reference in New Issue
Block a user