TeX in C
Explore TeX with modern c compiler.
global_const.h
浏览该文件的文档.
1 #pragma once
2 #ifndef _INC_GLOBAL_CONST
4 #define _INC_GLOBAL_CONST
5 
7 // #define tt_USE_TEX82
8 
9 // TRIP TEST 使用的参数
10 #define TEX_TRIP_TEST
11 
12 // #7
13 // MSVC debug mode || not in (GCC -O3 mode)
14 #if defined(_DEBUG) || !defined(__OPTIMIZE__)
15 // debug mode
16 
21 #define tt_DEBUG
28 #define tt_STAT
34 #define tt_INIT
35 #else
36 // release mode
37 
38 #undef tt_DEBUG
39 #undef tt_STAT
40 #undef tt_INIT
41 #define NDEBUG // no assertsion
42 #endif
43 
44 #define Static static
45 
47 #define USE_SPLIT_MOD
48 
50 #define USE_REAL_STR
51 
52 
53 #define dwa_do_8 ((int)16 * 1024 * 1024)
54 
55 #endif // _INC_GLOBAL_CONST
56 
57 
58 // 预定义分组,固定排序。
59