Move d_m3EnableWasiTracing to m3_config.h

This commit is contained in:
Volodymyr Shymanskyy
2022-08-29 16:55:30 +03:00
parent 2d2c2c7489
commit 43cea2cfd9
2 changed files with 4 additions and 4 deletions
-4
View File
@@ -17,10 +17,6 @@
#include <stdio.h>
#include <string.h>
#ifndef d_m3EnableWasiTracing
# define d_m3EnableWasiTracing 0
#endif
#ifdef __APPLE__
# include <crt_externs.h>
# define environ (*_NSGetEnviron())
+4
View File
@@ -80,6 +80,10 @@
# define d_m3EnableOpTracing 0 // only works with DEBUG
# endif
# ifndef d_m3EnableWasiTracing
# define d_m3EnableWasiTracing 0
# endif
# ifndef d_m3EnableStrace
# define d_m3EnableStrace 0 // 1 - trace exported function calls
// 2 - trace all calls (structured) - requires DEBUG