YARP  2.3.70.1
Yet Another Robot Platform
PlatformStdio.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2017 iCub Facility, Istituto Italiano di Tecnologia (IIT)
3  * CopyPolicy: Released under the terms of the LGPLv2.1 or later, see LGPL.TXT
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 #else
13 # include <stdio.h>
14 #endif
15 
16 namespace yarp {
17 namespace os {
18 namespace impl {
19 
20 #ifdef YARP_HAS_ACE
21  using ACE_OS::fileno;
22 # if defined(_MSC_VER) && _MSC_VER < 1900
23  using ACE_OS::snprintf;
24 # endif
25 #else
26  using ::fileno;
27 #endif
28 
29 } // namespace impl
30 } // namespace os
31 } // namespace yarp
32 
33 
34 
35 #endif // YARP_OS_IMPL_PLATFORMSTDIO_H
The main, catch-all namespace for YARP.