YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
PlatformLimits.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2006-2021 Istituto Italiano di Tecnologia (IIT)
3 * SPDX-License-Identifier: BSD-3-Clause
4 */
5
6#ifndef YARP_OS_IMPL_PLATFORMLIMITS_H
7#define YARP_OS_IMPL_PLATFORMLIMITS_H
8
9#include <yarp/conf/system.h>
10#if defined(YARP_HAS_ACE)
11# include <ace/os_include/os_limits.h>
12// In one the ACE headers there is a definition of "main" for WIN32
13# ifdef main
14# undef main
15# endif
16#else
17# include <climits>
18# if !defined(HOST_NAME_MAX) && defined(__APPLE__)
19# define HOST_NAME_MAX _POSIX_HOST_NAME_MAX
20# endif
21#endif
22
23
24#endif // YARP_OS_IMPL_PLATFORMLIMITS_H