MRPT  1.9.9
xsplatform.h
Go to the documentation of this file.
1 /* +------------------------------------------------------------------------+
2  | Mobile Robot Programming Toolkit (MRPT) |
3  | https://www.mrpt.org/ |
4  | |
5  | Copyright (c) 2005-2019, Individual contributors, see AUTHORS file |
6  | See: https://www.mrpt.org/Authors - All rights reserved. |
7  | Released under BSD License. See: https://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 
18 #include <stdio.h>
19 #define XsIoHandle HANDLE
20 
21 #else
22 /// gcc / linux
23 #include <stddef.h>
24 #include <stdio.h>
25 #include <string.h>
26 #include <termios.h>
27 #include "pstdint.h"
28 #define _strnicmp strncasecmp
29 typedef int32_t XsIoHandle;
30 
31 #endif
32 
33 #endif // file guard
__int32 int32_t
Definition: rptypes.h:49
#define XsIoHandle
microsoft / windows
Definition: xsplatform.h:19



Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: 8fe78517f Sun Jul 14 19:43:28 2019 +0200 at lun oct 28 02:10:00 CET 2019