<libroxml
version="3.0.2"
/>
|
special definitions for windows native build More...
#include <windows.h>
Go to the source code of this file.
Macros | |
#define | WIN32_LEAN_AND_MEAN |
#define | pthread_self() ((unsigned long int) GetCurrentThread()) |
#define | pthread_mutex_init(a, b) ({int ret = 0; InitializeCriticalSection(a); ret;}) |
#define | pthread_mutex_lock(a) ({int ret = 0; EnterCriticalSection(a); ret;}) |
#define | pthread_mutex_unlock(a) ({int ret = 0; LeaveCriticalSection(a); ret;}) |
#define | pthread_mutex_destroy(a) ({int ret = 0; DeleteCriticalSection(a); ret; }) |
#define | ENODATA 61 |
Typedefs | |
typedef HANDLE | pthread_t |
typedef CRITICAL_SECTION | pthread_mutex_t |
special definitions for windows native build
(C) Copyright 2014 Tristan Lelong trist.nosp@m.an.l.nosp@m.elong.nosp@m.@lib.nosp@m.roxml.nosp@m..net
SPDX-Licence-Identifier: LGPL-2.1+ The author added a static linking exception, see License.txt.
Definition in file roxml_win32_native.h.
#define ENODATA 61 |
Definition at line 35 of file roxml_win32_native.h.
#define pthread_mutex_destroy | ( | a | ) | ({int ret = 0; DeleteCriticalSection(a); ret; }) |
Definition at line 32 of file roxml_win32_native.h.
#define pthread_mutex_init | ( | a, | |
b | |||
) | ({int ret = 0; InitializeCriticalSection(a); ret;}) |
Definition at line 29 of file roxml_win32_native.h.
#define pthread_mutex_lock | ( | a | ) | ({int ret = 0; EnterCriticalSection(a); ret;}) |
Definition at line 30 of file roxml_win32_native.h.
#define pthread_mutex_unlock | ( | a | ) | ({int ret = 0; LeaveCriticalSection(a); ret;}) |
Definition at line 31 of file roxml_win32_native.h.
#define pthread_self | ( | ) | ((unsigned long int) GetCurrentThread()) |
Definition at line 28 of file roxml_win32_native.h.
#define WIN32_LEAN_AND_MEAN |
Definition at line 22 of file roxml_win32_native.h.
typedef CRITICAL_SECTION pthread_mutex_t |
Definition at line 26 of file roxml_win32_native.h.
typedef HANDLE pthread_t |
Definition at line 25 of file roxml_win32_native.h.