0
0
mirror of https://github.com/yse/easy_profiler.git synced 2024-12-27 00:31:02 +08:00

(profiler_core) Windows build fix

This commit is contained in:
Victor Zarubkin 2016-09-06 00:22:26 +03:00
parent 9521f8ac02
commit 33946770bb
2 changed files with 2 additions and 2 deletions

View File

@ -220,7 +220,7 @@ namespace profiler {
uint32_t PROFILER_API dumpBlocksToFile(const char* filename);
void PROFILER_API setThreadName(const char* name, const char* filename, const char* _funcname, int line);
void PROFILER_API setContextSwitchLogFilename(const char* name);
const char* PROFILER_API getContextSwitchLogFilename();
PROFILER_API const char* getContextSwitchLogFilename();
}
typedef uint64_t timestamp_t;

View File

@ -54,7 +54,7 @@ extern "C"{
return MANAGER.setContextSwitchLogFilename(name);
}
const char* PROFILER_API getContextSwitchLogFilename()
PROFILER_API const char* getContextSwitchLogFilename()
{
return MANAGER.getContextSwitchLogFilename();
}