YARP
Yet Another Robot Platform
PlatformLimits.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2006-2020 Istituto Italiano di Tecnologia (IIT)
3
* All rights reserved.
4
*
5
* This software may be modified and distributed under the terms of the
6
* BSD-3-Clause license. See the accompanying LICENSE file for details.
7
*/
8
9
#ifndef YARP_OS_IMPL_PLATFORMLIMITS_H
10
#define YARP_OS_IMPL_PLATFORMLIMITS_H
11
12
#include <
yarp/conf/system.h
>
13
#if defined(YARP_HAS_ACE)
14
# include <ace/os_include/os_limits.h>
15
// In one the ACE headers there is a definition of "main" for WIN32
16
# ifdef main
17
# undef main
18
# endif
19
#else
20
# include <climits>
21
# if !defined(HOST_NAME_MAX) && defined(__APPLE__)
22
# define HOST_NAME_MAX _POSIX_HOST_NAME_MAX
23
# endif
24
#endif
25
26
27
#endif // YARP_OS_IMPL_PLATFORMLIMITS_H
system.h
YARP
3.4.100+20201223.2+gitb8ea4d712
src
libYARP_os
src
yarp
os
impl
PlatformLimits.h
Generated on Sun Jan 3 2021 02:46:24 for YARP by
1.8.20