Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
hrplib
hrpUtil
hrplib/hrpUtil/config.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2008, AIST, the University of Tokyo and General Robotix Inc.
3
* All rights reserved. This program is made available under the terms of the
4
* Eclipse Public License v1.0 which accompanies this distribution, and is
5
* available at http://www.eclipse.org/legal/epl-v10.html
6
* Contributors:
7
* National Institute of Advanced Industrial Science and Technology (AIST)
8
*/
9
10
#ifndef OPENHRP_UTIL_CONFIG_H_INCLUDED
11
#define OPENHRP_UTIL_CONFIG_H_INCLUDED
12
13
// for Windows DLL export
14
#if defined(WIN32) || defined(_WIN32) || defined(__WIN32__) || defined(__NT__)
15
# ifdef HRP_UTIL_MAKE_DLL
16
# define HRP_UTIL_EXPORT __declspec(dllexport)
17
# else
18
# define HRP_UTIL_EXPORT __declspec(dllimport)
19
# endif
20
#else
21
# define HRP_UTIL_EXPORT
22
#endif
/* Windows */
23
24
#ifdef __QNX__
25
#include <cmath>
26
#include <cstddef>
27
using
std::size_t;
28
using
std::sin;
29
using
std::cos;
30
using
std::sqrt;
31
using
std::fabs;
32
using
std::acos;
33
using
std::asin;
34
using
std::atan2;
35
using
std::hypot;
36
using
std::pow;
37
using
std::jn;
38
using
std::yn;
39
using
std::cbrt;
40
using
std::rint;
41
using
std::drem;
// near obsolete
42
#endif
/* QNX */
43
44
#endif
openhrp3
Author(s): AIST, General Robotix Inc., Nakamura Lab of Dept. of Mechano Informatics at University of Tokyo
autogenerated on Sat May 8 2021 02:42:37