YARP
Yet Another Robot Platform
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
20
namespace
yarp
{
21
namespace
os {
22
namespace
impl {
23
24
#ifdef YARP_HAS_ACE
25
using
ACE_OS::fileno;
26
#else
27
using ::fileno;
28
#endif
29
30
}
// namespace impl
31
}
// namespace os
32
}
// namespace yarp
33
34
35
#endif
// YARP_OS_IMPL_PLATFORMSTDIO_H
yarp
The main, catch-all namespace for YARP.
Definition:
dirs.h:16
system.h
YARP
3.5.1
src
libYARP_os
src
yarp
os
impl
PlatformStdio.h
Generated on Sat Dec 25 2021 02:23:04 for YARP by
1.9.1