metslib_config.hh
Go to the documentation of this file.
00001 /*
00002  * Software License Agreement (BSD License)
00003  *
00004  *  Copyright (c) 2006-2012, Mirko Maischberger <mirko.maischberger@gmail.com>
00005  *  All rights reserved.
00006  *
00007  *  Redistribution and use in source and binary forms, with or without
00008  *  modification, are permitted provided that the following conditions
00009  *  are met:
00010  *
00011  *   * Redistributions of source code must retain the above copyright
00012  *     notice, this list of conditions and the following disclaimer.
00013  *   * Redistributions in binary form must reproduce the above
00014  *     copyright notice, this list of conditions and the following
00015  *     disclaimer in the documentation and/or other materials provided
00016  *     with the distribution.
00017  *
00018  *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
00019  *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
00020  *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
00021  *  FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
00022  *  COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
00023  *  INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
00024  *  BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
00025  *  LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
00026  *  CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
00027  *  LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
00028  *  ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
00029  *  POSSIBILITY OF SUCH DAMAGE.
00030  *
00031  */
00032 #ifndef METSLIB_CONFIG_HH_
00033 #define METSLIB_CONFIG_HH_
00034 #  if defined (_WIN32)
00035 #    define METSLIB_HAVE_UNORDERED_MAP 1
00036 #    define METSLIB_TR1_MIXED_NAMESPACE 1
00037 #  elif defined (__GXX_EXPERIMENTAL_CXX0X__)
00038 #    define METSLIB_HAVE_UNORDERED_MAP 1
00039 #  else
00040 #    define METSLIB_HAVE_TR1_UNORDERED_MAP 1
00041 #  endif
00042 
00043 //Within PCL, force always to use boost unordered_map and random generators
00044 //Other options give problems with Clang... needs further investigation...
00045 #define METSLIB_TR1_BOOST 1
00046 
00047 #endif


pcl
Author(s): Open Perception
autogenerated on Wed Aug 26 2015 15:25:33