Add stub to pa_trace.c to eliminate warning.
"make install" was causing a warning if PA_TRACE_REALTIME_EVENTS was not defined.
This commit is contained in:
parent
e4138f1c59
commit
13c1e731db
1 changed files with 8 additions and 0 deletions
|
|
@ -227,4 +227,12 @@ void PaUtil_DiscardHighSpeedLog( LogHandle hLog )
|
||||||
PaUtil_FreeMemory(pLog);
|
PaUtil_FreeMemory(pLog);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#else
|
||||||
|
/* This stub was added so that this file will generate a symbol.
|
||||||
|
* Otherwise linker/archiver programs will complain.
|
||||||
|
*/
|
||||||
|
int PaUtil_TraceStubToSatisfyLinker(void)
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
#endif /* TRACE_REALTIME_EVENTS */
|
#endif /* TRACE_REALTIME_EVENTS */
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue