Explorar o código

Add define for instrumentation code

bel2125 %!s(int64=7) %!d(string=hai) anos
pai
achega
7259a80f1d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/civetweb.c

+ 1 - 1
src/civetweb.c

@@ -188,7 +188,7 @@ static void DEBUG_TRACE_FUNC(const char *func,
 #endif
 
 
-#if defined(__GNUC__) && defined(DEBUG)
+#if defined(__GNUC__) && defined(GCC_INSTRUMENTATION)
 void __cyg_profile_func_enter(void *this_fn, void *call_site)
     __attribute__((no_instrument_function));