Main MRPT website > C++ reference for MRPT 1.5.9
xsplatform.h
Go to the documentation of this file.
1 /* +---------------------------------------------------------------------------+
2  | Mobile Robot Programming Toolkit (MRPT) |
3  | http://www.mrpt.org/ |
4  | |
5  | Copyright (c) 2005-2017, Individual contributors, see AUTHORS file |
6  | See: http://www.mrpt.org/Authors - All rights reserved. |
7  | Released under BSD License. See details in http://www.mrpt.org/License |
8  +---------------------------------------------------------------------------+ */
9 #ifndef XSPLATFORM_H
10 #define XSPLATFORM_H
11 
12 #include "xstypesconfig.h"
13 
14 #ifdef _WIN32
15 /// microsoft / windows
16 #include <windows.h>
17 #include <stdio.h>
18 #define XsIoHandle HANDLE
19 
20 #else
21 /// gcc / linux
22 #include <termios.h>
23 #include <string.h>
24 #include <stddef.h>
25 #include <stdio.h>
26 #include "pstdint.h"
27 #define _strnicmp strncasecmp
28 typedef int32_t XsIoHandle;
29 
30 #endif
31 
32 #endif // file guard
__int32 int32_t
Definition: rptypes.h:48
#define XsIoHandle
microsoft / windows
Definition: xsplatform.h:18



Page generated by Doxygen 1.8.14 for MRPT 1.5.9 Git: 690a4699f Wed Apr 15 19:29:53 2020 +0200 at miƩ abr 15 19:30:12 CEST 2020