Synesis Software STLSoft - ... Robust, Lightweight, Cross-platform, Template Software ...

pantheios/internal/lean.h

Go to the documentation of this file.
00001 /* /////////////////////////////////////////////////////////////////////////
00002  * File:        pantheios/internal/lean.h
00003  *
00004  * Purpose:     Suppresses as much as possible of operating-system headers,
00005  *              to decrease compilation times.
00006  *
00007  * Created:     22nd April 2008
00008  * Updated:     10th August 2009
00009  *
00010  * Home:        http://www.pantheios.org/
00011  *
00012  * Copyright (c) 2008-2009, Matthew Wilson and Synesis Software
00013  * All rights reserved.
00014  *
00015  * Redistribution and use in source and binary forms, with or without
00016  * modification, are permitted provided that the following conditions are
00017  * met:
00018  *
00019  * - Redistributions of source code must retain the above copyright notice,
00020  *   this list of conditions and the following disclaimer.
00021  * - Redistributions in binary form must reproduce the above copyright
00022  *   notice, this list of conditions and the following disclaimer in the
00023  *   documentation and/or other materials provided with the distribution.
00024  * - Neither the names of Matthew Wilson and Synesis Software nor the names
00025  *   of any contributors may be used to endorse or promote products derived
00026  *   from this software without specific prior written permission.
00027  *
00028  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
00029  * IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
00030  * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
00031  * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
00032  * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
00033  * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
00034  * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
00035  * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
00036  * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
00037  * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
00038  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
00039  *
00040  * ////////////////////////////////////////////////////////////////////// */
00041 
00042 
00049 #ifndef PANTHEIOS_INCL_PANTHEIOS_INTERNAL_H_LEAN
00050 #define PANTHEIOS_INCL_PANTHEIOS_INTERNAL_H_LEAN
00051 
00052 /* /////////////////////////////////////////////////////////////////////////
00053  * Includes
00054  */
00055 
00056 #if defined(__FreeBSD__) || \
00057     defined(__NetBSD__) || \
00058     defined(__OpenBSD__) || \
00059     defined(__bsdi__) || \
00060     defined(_SYSTYPE_BSD)
00061 /* # include <pantheios/internal/bsdlean.h> */
00062 #endif /* BSD */
00063 
00064 #if defined(__sysv__) || \
00065     defined(__SVR4) || \
00066     defined(__svr4__) || \
00067     defined(_SYSTYPE_SVR4)
00068 /* # include <pantheios/internal/svr4lean.h> */
00069 #endif /* SVR4 */
00070 
00071 #if defined(__APPLE__) || \
00072     defined(__MACOSX__)
00073 /* # include <pantheios/internal/maclean.h> */
00074 #endif /* Mac */
00075 
00076 #if defined(hpux) || \
00077     defined(_hpux)
00078 /* # include <pantheios/internal/hpuxlean.h> */
00079 #endif /* HPUX */
00080 
00081 #if defined(__linux__) || \
00082     defined(__linux) || \
00083     defined(linux)
00084 /* # include <pantheios/internal/linuxlean.h> */
00085 #endif /* Linux */
00086 
00087 #if defined(sun) || \
00088     defined(__sun)
00089 /* # include <pantheios/internal/sunlean.h> */
00090 #endif /* Sun */
00091 
00092 #if defined(unix) || \
00093     defined(UNIX) || \
00094     defined(__unix__) || \
00095     defined(__unix)
00096 /* # include <pantheios/internal/unixlean.h> */
00097 #endif /* UNIX */
00098 
00099 #if defined(_WIN32) || \
00100     defined(_WIN64)
00101 # include <pantheios/internal/winlean.h>
00102 #endif /* _WIN32 && _WIN64 */
00103 
00104 /* ////////////////////////////////////////////////////////////////////// */
00105 
00106 #endif /* PANTHEIOS_INCL_PANTHEIOS_INTERNAL_H_LEAN */
00107 
00108 /* ///////////////////////////// end of file //////////////////////////// */

pantheios Library documentation Matthew Wilson & Synesis Software, 2006-2011 SourceForge.net Logo