RTI Connext DDS Micro  Version 2.4.11
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
osapi_os_windows.h
Go to the documentation of this file.
1 /*
2  * FILE: osapi_os_windows.h - OS configuration file for MS Windows
3  *
4  * (c) Copyright, Real-Time Innovations, 2012-2016
5  *
6  * All rights reserved.
7  *
8  * No duplications, whole or partial, manual or electronic, may be made
9  * without express written permission. Any such copies, or
10  * revisions thereof, must display this notice unaltered.
11  * This code contains trade secrets of Real-Time Innovations, Inc.
12  *
13  * Modification History
14  * --------------------
15  * 28jul2016,tk Refactored from osapi_config.h
16  */
17 /*ce \file
18  * \brief OS API Configuration
19  */
20 #ifndef osapi_os_windows_h
21 #define osapi_os_windows_h
22 
23 #define OSAPI_INCLUDE_WINDOWS 1
24 
25 #include <stdio.h>
26 #include <stdlib.h>
27 #include <stdarg.h>
28 #include <errno.h>
29 #include <windows.h>
30 #include <process.h>
31 #include <io.h>
32 
33 #define _WINSOCKAPI_
34 #define HAVE_SOCKET_API
35 #define OSAPI_ThreadHandle HANDLE
36 #define OSAPI_ThreadId DWORD
37 #define OSAPI_ProcessId DWORD
38 #define OSAPI_LOG_WRITE_BUFFER(buf_,len_) if (_write(1,buf_,len_)){}
39 
40 #ifndef RTI_WIN32
41 #define RTI_WIN32 (1)
42 #endif
43 
44 #endif /* osapi_os_windows_h */

RTI Connext DDS Micro Version 2.4.11 Copyright © Mon Jul 23 2018 Real-Time Innovations, Inc