-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.ppc
56 lines (48 loc) · 1.24 KB
/
config.ppc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
#ifdef _MSC_VER
// because snprintf IS secure; and _snprintf doesn't help.
# define _CRT_SECURE_NO_WARNINGS
#endif
#ifndef HAVE_SSL
# define NO_SSL 1
#endif
#ifndef HAVE_ZLIB
# define __NO_WEBSOCK_COMPRESSION__
#endif
#define SACK_AMALGAMATE
#define NO_OPEN_MACRO
//#define __NO_MMAP__
#define __STATIC__
#define NO_FILEOP_ALIAS
#define SACK_BAG_EXPORTS
#define __STATIC_GLOBALS__
#define DEFINE_DEFAULT_IMAGE_INTERFACE
//#define TYPELIB_SOURCE
#define NEED_SHLAPI
#define NEED_SHLOBJ
#define JSON_PARSER_MAIN_SOURCE
#define WINFILE_COMMON_SOURCE
#define MAKE_RCOORD_SINGLE
// this gets Wow64GetThreadContext
#define _WIN32_WINNT 0x600
#define USE_SQLITE
#define SQLITE_ENABLE_COLUMN_METADATA 1
#include <stdio.h>
#include <stdarg.h>
#include <stdhdrs.h>
#ifndef TARGETNAME
# define TARGETNAME ""
#endif
#if 0
#ifdef __cplusplus
namespace sack {
namespace logging {
#endif
INDEX real_lprintf( char const* f,... ) { va_list va; int n; va_start(va,f); n = vprintf(f ,va); puts(""); return n; }
INDEX null_lprintf( char const* f,... ) { return 0; }
RealLogFunction _xlprintf(uint32_t level DBG_PASS) { return real_lprintf; };
void SystemLog( char const* f ) { puts( f ); puts( "ZZZZ\n" ); }
#ifdef __cplusplus
}
}
#endif
#endif