- Add liblog LOG_TRACE compile flag support.

This commit is contained in:
Arnaud G. GIBERT 2024-05-06 19:15:34 +02:00
parent 493568b9fb
commit 34f9ff7ba6
2 changed files with 12 additions and 0 deletions

View File

@ -84,3 +84,11 @@ endif
ifeq ($(OPTIM), Y)
CFLAGS += -O3
endif
ifeq ($(LOG_TRACE), YES)
CFLAGS += -D_LOG_TRACE
endif
ifeq ($(LOG_TRACE), Y)
CFLAGS += -D_LOG_TRACE
endif

View File

@ -268,6 +268,7 @@ typedef struct {
#define SM_Library_Dump SM_Library_Dump_I
#define SM_Library_Unlock SM_Library_Unlock_I
#define SM_Library_Stderr_Set SM_Library_Stderr_Set_I
#define SM_Heap_Exist SM_Heap_Exist_I
#define SM_Heap_Open SM_Heap_Open_I
#define SM_Heap_IsOpen SM_Heap_IsOpen_I
@ -278,6 +279,7 @@ typedef struct {
#define SM_Heap_Check SM_Heap_Check_I
#define SM_Heap_Lock SM_Heap_Lock_I
#define SM_Heap_Unlock SM_Heap_Unlock_I
#define SM_Chunk_Alloc SM_Chunk_Alloc_I
#define SM_Chunk_Free SM_Chunk_Free_I
@ -291,6 +293,7 @@ typedef struct {
#define SM_Library_Dump SM_Library_Dump_C
#define SM_Library_Unlock SM_Library_Unlock_C
#define SM_Library_Stderr_Set SM_Library_Stderr_Set_C
#define SM_Heap_Exist SM_Heap_Exist_C
#define SM_Heap_Open SM_Heap_Open_C
#define SM_Heap_IsOpen SM_Heap_IsOpen_C
@ -301,6 +304,7 @@ typedef struct {
#define SM_Heap_Check SM_Heap_Check_C
#define SM_Heap_Lock SM_Heap_Lock_C
#define SM_Heap_Unlock SM_Heap_Unlock_C
#define SM_Chunk_Alloc SM_Chunk_Alloc_C
#define SM_Chunk_Free SM_Chunk_Free_C