… | |
… | |
80 | # define INIT_HTAB 0 |
80 | # define INIT_HTAB 0 |
81 | #endif |
81 | #endif |
82 | |
82 | |
83 | /* |
83 | /* |
84 | * avoid assigning values to errno variable? for some embedding purposes |
84 | * avoid assigning values to errno variable? for some embedding purposes |
85 | * (linux kernel for example), this is not |
85 | * (linux kernel for example), this is neccessary. NOTE: this breaks |
|
|
86 | * the documentation in lzf.h. |
86 | */ |
87 | */ |
87 | #ifndef AVOID_ERRNO |
88 | #ifndef AVOID_ERRNO |
88 | # define AVOID_ERRNO 0 |
89 | # define AVOID_ERRNO 0 |
89 | #endif |
90 | #endif |
90 | |
91 | |
91 | /* |
92 | /* |
92 | * Wether to pass the LZF_STATE variable as argument, or allocate it |
93 | * Wether to pass the LZF_STATE variable as argument, or allocate it |
93 | * on the stack. For small-stack environments, define this to zero. |
94 | * on the stack. For small-stack environments, define this to 1. |
|
|
95 | * NOTE: this breaks the prototype in lzf.h. |
94 | */ |
96 | */ |
95 | #ifndef LZF_STATE_ARG |
97 | #ifndef LZF_STATE_ARG |
96 | # define LZF_STATE_ARG 1 |
98 | # define LZF_STATE_ARG 0 |
97 | #endif |
99 | #endif |
98 | |
100 | |
99 | /*****************************************************************************/ |
101 | /*****************************************************************************/ |
100 | /* nothing should be changed below */ |
102 | /* nothing should be changed below */ |
101 | |
103 | |