1 //===-- Support/slist - "Portable" wrapper around slist ---------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file was developed by the LLVM research group and is distributed under
6 // the University of Illinois Open Source License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // This file provides a wrapper around the mysterious <slist> header file that
11 // seems to move around between GCC releases into and out of namespaces at will.
12 // #including this header will cause hash_map to be available in the global
15 //===----------------------------------------------------------------------===//
20 #include "Config/config.h"
22 // Compiler Support Matrix
24 // Version Namespace Header File
26 // 3.0.4 std ext/slist
27 // 3.1 __gnu_cxx ext/slist
36 #if HAVE_EXT_SLIST == std
40 #if HAVE_EXT_SLIST == gnu
41 using __gnu_cxx::slist;