SAGA Adaptor CPI v.1.0
|
00001 // 00002 // Copyright (c) 2005-2008 Andre Merzky (andre@merzky.net) 00003 // 00004 // Distributed under the Boost Software License, Version 1.0. (See accompanying 00005 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 00006 00007 #ifndef SAGA_DEFS_HPP 00008 #define SAGA_DEFS_HPP 00009 00010 // always include saga-config.hpp, if we have any, to get system defs 00011 // consistent 00012 #ifndef SAGA_SKIP_CONFIG_HPP 00013 # include <saga/saga-config.hpp> 00014 #endif 00015 00016 // boost knows about windows. Note that the other platform defines are defined 00017 // in saga-config.hpp 00018 #include <boost/config.hpp> 00019 #ifdef BOOST_WINDOWS 00020 # define SAGA_WINDOWS 00021 #endif 00022 00023 #if defined(SAGA_WINDOWS) // avoid problems with boost asio 00024 #include <WinSock2.h> 00025 #endif 00026 00027 // export definitions 00028 #include <saga/saga/export_definitions.hpp> 00029 00030 // version defines 00031 #include <saga/saga/version.hpp> 00032 00033 // get default defines, e.g. paths etc. 00034 #include <saga/saga-defaults.hpp> 00035 00036 #endif // SAGA_DEFS_HPP 00037