MLIB
Loading...
Searching...
No Matches
defs.h
1#pragma once
2
4#define MLIB_LOGFAC (25 << 3)
5
7// #define MLIB_SYSLOG_TRACE 1
8
18
19// If _TRACE has a numeric value, that becomes the trace level
20#if !defined(MLIB_TRACE_LEVEL) && defined(_TRACE) && (_TRACE + 0 > 0)
21#define MLIB_TRACE_LEVEL _TRACE
22#endif
23
24#ifndef MLIB_TRACE_LEVEL
25#define MLIB_TRACE_LEVEL 7
26#endif
27
28#define SQLITE_ENABLE_COLUMN_METADATA
29
30#ifndef _MSC_VER
31//Standard type definitions matching
32// https://learn.microsoft.com/en-us/windows/win32/winprog/windows-data-types
33typedef unsigned long DWORD;
34typedef int BOOL;
35typedef unsigned char BYTE;
36typedef unsigned short WORD;
37typedef float FLOAT;
38typedef int INT;
39typedef unsigned int UINT;
40#endif
41
42
43#include <stdint.h>
44#include <stddef.h>