Main MRPT website > C++ reference for MRPT 1.9.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-2018, 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
XsIoHandle
#define XsIoHandle
microsoft / windows
Definition: xsplatform.h:18
xstypesconfig.h
int32_t
__int32 int32_t
Definition: rptypes.h:46



Page generated by Doxygen 1.8.17 for MRPT 1.9.9 Git: ad3a9d8ae Tue May 1 23:10:22 2018 -0700 at miƩ 12 jul 2023 10:03:34 CEST