winprefs
v0.3.2
A registry exporter for programmers.
Loading...
Searching...
No Matches
native
macros.h
1
#ifndef MACROS_H
2
#define MACROS_H
3
4
#if !HAVE_WCSNICMP
5
#define _wcsnicmp wcsncmp
6
#endif
7
#if !HAVE_WCSICMP
8
#define _wcsicmp wcscmp
9
#endif
10
11
#if !HAVE_NULLPTR_T
13
#define nullptr (void *)0
14
#endif
15
16
#if !HAVE_STDBOOL
17
#define bool BOOL
18
#define true TRUE
19
#define false FALSE
20
#endif
21
22
#if !HAVE_EKEYREJECTED
23
#define EKEYREJECTED 129
24
#endif
25
26
#ifdef __WINE__
27
#define IsWindowsVistaOrGreater() 0
28
#endif
29
30
#ifdef __GNUC__
31
#define unlikely(x) __builtin_expect(!!(x), 0)
32
#else
33
#define unlikely(x) x
34
#endif
35
36
#ifdef _WIN32
37
#define DLL_EXPORT __declspec(dllexport)
38
#else
39
#define DLL_EXPORT
40
#endif
41
42
#endif
// MACROS_H
Generated by
1.10.0