YARP
Yet Another Robot Platform
 
Loading...
Searching...
No Matches
PlatformStdio.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_PLATFORMSTDIO_H
7#define YARP_OS_IMPL_PLATFORMSTDIO_H
8
9#include <yarp/conf/system.h>
10#ifdef YARP_HAS_ACE
11# include <ace/OS_NS_stdio.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 <stdio.h>
18#endif
19
20namespace yarp::os::impl {
21
22#ifdef YARP_HAS_ACE
23using ACE_OS::fileno;
24#else
25using ::fileno;
26#endif
27
28} // namespace yarp::os::impl
29
30
31#endif // YARP_OS_IMPL_PLATFORMSTDIO_H
The components from which ports and connections are built.