src/internet-stack/sgi-hashmap.h
changeset 3365 6409d2460601
parent 3260 8c0ab08144e6
equal deleted inserted replaced
3364:8e6ac6061680 3365:6409d2460601
    18 namespace sgi = std;         // GCC 3.0
    18 namespace sgi = std;         // GCC 3.0
    19        #else
    19        #else
    20 namespace sgi = ::__gnu_cxx;       // GCC 3.1 and later
    20 namespace sgi = ::__gnu_cxx;       // GCC 3.1 and later
    21        #endif
    21        #endif
    22      #else  // gcc 4.x and later
    22      #else  // gcc 4.x and later
       
    23        #if __GNUC_MINOR__ < 3
    23        #include <ext/hash_map>
    24        #include <ext/hash_map>
    24        namespace sgi = ::__gnu_cxx;
    25 namespace sgi = ::__gnu_cxx;
       
    26        #else
       
    27 #undef __DEPRECATED
       
    28        #include <backward/hash_map>
       
    29 namespace sgi = ::__gnu_cxx;
       
    30        #endif
    25      #endif
    31      #endif
    26   #endif
    32   #endif
    27 #else      // ...  there are other compilers, right?
    33 #else      // ...  there are other compilers, right?
    28 namespace sgi = std;
    34 namespace sgi = std;
    29 #endif
    35 #endif