We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2251e99 commit cc65d5dCopy full SHA for cc65d5d
src/tbprobe.c
@@ -22,7 +22,12 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
SOFTWARE.
23
*/
24
25
+#ifdef TB_ASSERT
26
+#define assert(x) TB_ASSERT(x)
27
+#else
28
#include <assert.h>
29
+#endif
30
+
31
#ifdef __cplusplus
32
#include <atomic>
33
#else
@@ -32,11 +37,15 @@ SOFTWARE.
37
#include <stdio.h>
38
#include <stdlib.h>
34
39
#include <string.h>
40
41
+#ifndef __cplusplus
35
42
#ifdef TB_NO_STDBOOL
36
-#typedef uint8 bool
43
+typedef uint8 bool
44
45
#include <stdbool.h>
46
#endif
47
48
49
#include "tbprobe.h"
50
51
#define TB_PIECES 7
0 commit comments