Forráskód Böngészése

Add define for instrumentation code

bel2125 7 éve
szülő
commit
7259a80f1d
1 módosított fájl, 1 hozzáadás és 1 törlés
  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));