mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-23 13:11:15 -03:00
Support for building with C++11
This commit is contained in:
11
io.h
11
io.h
@@ -2,8 +2,15 @@
|
||||
#define FISH_IO_H
|
||||
|
||||
#include <vector>
|
||||
#include <tr1/memory>
|
||||
using std::tr1::shared_ptr;
|
||||
#if __cplusplus > 199711L
|
||||
// C++11
|
||||
#include <memory>
|
||||
using std::shared_ptr;
|
||||
#else
|
||||
// C++03
|
||||
#include <tr1/memory>
|
||||
using std::tr1::shared_ptr;
|
||||
#endif
|
||||
|
||||
/**
|
||||
Describes what type of IO operation an io_data_t represents
|
||||
|
||||
Reference in New Issue
Block a user