epoc32/include/stdapis/stlportv5/stl/config/_native_headers.h
branchSymbian2
changeset 3 e1b950c65cb4
parent 2 2fe1408b6811
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/epoc32/include/stdapis/stlportv5/stl/config/_native_headers.h	Wed Mar 31 12:27:01 2010 +0100
     1.3 @@ -0,0 +1,50 @@
     1.4 + /*
     1.5 +  *
     1.6 +  * Copyright (c) 2006
     1.7 +  * Francois Dumont
     1.8 +  *
     1.9 +  * This material is provided "as is", with absolutely no warranty expressed
    1.10 +  * or implied. Any use is at your own risk.
    1.11 +  *
    1.12 +  * Permission to use or copy this software for any purpose is hereby granted
    1.13 +  * without fee, provided the above notices are retained on all copies.
    1.14 +  * Permission to modify the code and to distribute modified code is granted,
    1.15 +  * provided the above notices are retained, and a notice that the code was
    1.16 +  * modified is included with the above copyright notice.
    1.17 +  *
    1.18 +  */
    1.19 +
    1.20 +#if !defined (_STLP_MAKE_HEADER)
    1.21 +#  define _STLP_MAKE_HEADER(path, header) <path/header>
    1.22 +#endif
    1.23 +
    1.24 +#if !defined (_STLP_NATIVE_HEADER)
    1.25 +#  if !defined (_STLP_NATIVE_INCLUDE_PATH)
    1.26 +#    define _STLP_NATIVE_INCLUDE_PATH ../include
    1.27 +#  endif
    1.28 +#  define _STLP_NATIVE_HEADER(header) _STLP_MAKE_HEADER(_STLP_NATIVE_INCLUDE_PATH,header)
    1.29 +#endif
    1.30 +
    1.31 +/* For some compilers, C headers like <stdio.h> are located in separate directory */
    1.32 +#if !defined (_STLP_NATIVE_C_HEADER)
    1.33 +#  if !defined (_STLP_NATIVE_C_INCLUDE_PATH)
    1.34 +#    define _STLP_NATIVE_C_INCLUDE_PATH _STLP_NATIVE_INCLUDE_PATH
    1.35 +#  endif
    1.36 +#  define _STLP_NATIVE_C_HEADER(header)  _STLP_MAKE_HEADER(_STLP_NATIVE_C_INCLUDE_PATH,header)
    1.37 +#endif
    1.38 +
    1.39 +/* For some compilers, C-library headers like <cstdio> are located in separate directory */
    1.40 +#if !defined (_STLP_NATIVE_CPP_C_HEADER)
    1.41 +#  if !defined (_STLP_NATIVE_CPP_C_INCLUDE_PATH)
    1.42 +#    define _STLP_NATIVE_CPP_C_INCLUDE_PATH _STLP_NATIVE_INCLUDE_PATH
    1.43 +#  endif
    1.44 +#  define _STLP_NATIVE_CPP_C_HEADER(header)  _STLP_MAKE_HEADER(_STLP_NATIVE_CPP_C_INCLUDE_PATH,header)
    1.45 +#endif
    1.46 +
    1.47 +/* Some compilers locate basic C++ runtime support headers (<new>, <typeinfo>, <exception>) in separate directory */
    1.48 +#if !defined ( _STLP_NATIVE_CPP_RUNTIME_HEADER )
    1.49 +#  if !defined (_STLP_NATIVE_CPP_RUNTIME_INCLUDE_PATH)
    1.50 +#    define _STLP_NATIVE_CPP_RUNTIME_INCLUDE_PATH _STLP_NATIVE_INCLUDE_PATH
    1.51 +#  endif
    1.52 +#  define _STLP_NATIVE_CPP_RUNTIME_HEADER(header)  _STLP_MAKE_HEADER(_STLP_NATIVE_CPP_RUNTIME_INCLUDE_PATH,header)
    1.53 +#endif