Line
Link Here
|
|
|
|
++ b/examples/rc_pingpong.cxx |
Lines 63-69
Link Here
|
63 |
#include <time.h> |
63 |
#include <time.h> |
64 |
|
64 |
|
65 |
using namespace std; |
65 |
using namespace std; |
|
|
66 |
|
67 |
#if __cplusplus < 201103L |
66 |
using tr1::shared_ptr; |
68 |
using tr1::shared_ptr; |
|
|
69 |
#endif |
67 |
|
70 |
|
68 |
enum { |
71 |
enum { |
69 |
PINGPONG_RECV_WRID = 1, |
72 |
PINGPONG_RECV_WRID = 1, |
70 |
-- a/ibvpp.h |
73 |
++ b/ibvpp.h |
Lines 37-49
Link Here
|
37 |
|
37 |
|
38 |
#include <infiniband/verbs.h> |
38 |
#include <infiniband/verbs.h> |
39 |
|
39 |
|
40 |
#include <tr1/memory> |
|
|
41 |
#include <stdexcept> |
40 |
#include <stdexcept> |
42 |
#include <string> |
41 |
#include <string> |
43 |
#include <map> |
42 |
#include <map> |
44 |
#include <string.h> |
43 |
#include <string.h> |
45 |
|
44 |
|
|
|
45 |
#if __cplusplus < 201103L |
46 |
#include <tr1/memory> |
46 |
#define IBVPP_SPNS std::tr1 |
47 |
#define IBVPP_SPNS std::tr1 |
|
|
48 |
#else |
49 |
#include <memory> |
50 |
#define IBVPP_SPNS std |
51 |
#endif |
47 |
|
52 |
|
48 |
namespace ibv { |
53 |
namespace ibv { |
49 |
|
54 |
|