]> git.buserror.net Git - polintos/scott/priv.git/blob - include/c++/stl/stl/config/_native_headers.h
Add STLport 5.1.4
[polintos/scott/priv.git] / include / c++ / stl / stl / config / _native_headers.h
1  /*
2   *
3   * Copyright (c) 2006
4   * Francois Dumont
5   *
6   * This material is provided "as is", with absolutely no warranty expressed
7   * or implied. Any use is at your own risk.
8   *
9   * Permission to use or copy this software for any purpose is hereby granted
10   * without fee, provided the above notices are retained on all copies.
11   * Permission to modify the code and to distribute modified code is granted,
12   * provided the above notices are retained, and a notice that the code was
13   * modified is included with the above copyright notice.
14   *
15   */
16
17 #if !defined (_STLP_MAKE_HEADER)
18 #  define _STLP_MAKE_HEADER(path, header) <path/header>
19 #endif
20
21 #if !defined (_STLP_NATIVE_HEADER)
22 #  if !defined (_STLP_NATIVE_INCLUDE_PATH)
23 #    define _STLP_NATIVE_INCLUDE_PATH ../include
24 #  endif
25 #  define _STLP_NATIVE_HEADER(header) _STLP_MAKE_HEADER(_STLP_NATIVE_INCLUDE_PATH,header)
26 #endif
27
28 /* For some compilers, C headers like <stdio.h> are located in separate directory */
29 #if !defined (_STLP_NATIVE_C_HEADER)
30 #  if !defined (_STLP_NATIVE_C_INCLUDE_PATH)
31 #    define _STLP_NATIVE_C_INCLUDE_PATH _STLP_NATIVE_INCLUDE_PATH
32 #  endif
33 #  define _STLP_NATIVE_C_HEADER(header)  _STLP_MAKE_HEADER(_STLP_NATIVE_C_INCLUDE_PATH,header)
34 #endif
35
36 /* For some compilers, C-library headers like <cstdio> are located in separate directory */
37 #if !defined (_STLP_NATIVE_CPP_C_HEADER)
38 #  if !defined (_STLP_NATIVE_CPP_C_INCLUDE_PATH)
39 #    define _STLP_NATIVE_CPP_C_INCLUDE_PATH _STLP_NATIVE_INCLUDE_PATH
40 #  endif
41 #  define _STLP_NATIVE_CPP_C_HEADER(header)  _STLP_MAKE_HEADER(_STLP_NATIVE_CPP_C_INCLUDE_PATH,header)
42 #endif
43
44 /* Some compilers locate basic C++ runtime support headers (<new>, <typeinfo>, <exception>) in separate directory */
45 #if !defined ( _STLP_NATIVE_CPP_RUNTIME_HEADER )
46 #  if !defined (_STLP_NATIVE_CPP_RUNTIME_INCLUDE_PATH)
47 #    define _STLP_NATIVE_CPP_RUNTIME_INCLUDE_PATH _STLP_NATIVE_INCLUDE_PATH
48 #  endif
49 #  define _STLP_NATIVE_CPP_RUNTIME_HEADER(header)  _STLP_MAKE_HEADER(_STLP_NATIVE_CPP_RUNTIME_INCLUDE_PATH,header)
50 #endif