config.h
Go to the documentation of this file.
00001 /*
00002  * Copyright (c) 2008, AIST, the University of Tokyo and General Robotix Inc.
00003  * All rights reserved. This program is made available under the terms of the
00004  * Eclipse Public License v1.0 which accompanies this distribution, and is
00005  * available at http://www.eclipse.org/legal/epl-v10.html
00006  * Contributors:
00007  * National Institute of Advanced Industrial Science and Technology (AIST)
00008  */
00009 
00010 #ifndef OPENHRP_UTIL_CONFIG_H_INCLUDED
00011 #define OPENHRP_UTIL_CONFIG_H_INCLUDED
00012 
00013 // for Windows DLL export 
00014 #if defined(WIN32) || defined(_WIN32) || defined(__WIN32__) || defined(__NT__)
00015 # ifdef HRP_UTIL_MAKE_DLL
00016 #   define HRP_UTIL_EXPORT __declspec(dllexport)
00017 # else 
00018 #   define HRP_UTIL_EXPORT __declspec(dllimport)
00019 # endif
00020 #else 
00021 # define HRP_UTIL_EXPORT
00022 #endif /* Windows */
00023 
00024 #ifdef __QNX__
00025 #include <cmath>
00026 #include <cstddef>
00027 using std::size_t;
00028 using std::sin;
00029 using std::cos;
00030 using std::sqrt;
00031 using std::fabs;
00032 using std::acos;
00033 using std::asin;
00034 using std::atan2;
00035 using std::hypot;
00036 using std::pow;
00037 using std::jn;
00038 using std::yn;
00039 using std::cbrt;
00040 using std::rint;
00041 using std::drem; // near obsolete
00042 #endif /* QNX */
00043 
00044 #endif


openhrp3
Author(s): AIST, General Robotix Inc., Nakamura Lab of Dept. of Mechano Informatics at University of Tokyo
autogenerated on Thu Apr 11 2019 03:30:15