mirror of
https://github.com/RubyMetric/chsrc.git
synced 2025-02-24 12:30:53 +08:00
Add assert.h
This commit is contained in:
parent
fd1e6d776a
commit
67688af4ba
8
helper.h
8
helper.h
@ -9,9 +9,15 @@
|
||||
* helper functions and macros
|
||||
* -------------------------------------------------------------*/
|
||||
|
||||
#ifndef XY_H
|
||||
#define XY_H
|
||||
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdbool.h>
|
||||
#include <assert.h>
|
||||
|
||||
// #define NDEBUG
|
||||
|
||||
#ifdef _WIN32
|
||||
#include <windows.h>
|
||||
@ -118,3 +124,5 @@ xy_warn (const char* str1)
|
||||
fprintf(stderr, buf);
|
||||
free(buf);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user