Skip to content

Commit

Permalink
Fixing compilation on Linux and MacOS
Browse files Browse the repository at this point in the history
  • Loading branch information
bombomby committed Aug 25, 2019
1 parent d71dc3f commit 7aeea45
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/optick_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -153,9 +153,6 @@ static const ProcessID INVALID_PROCESS_ID = (ProcessID)-1;
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Safe functions
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
namespace Optick
{

#if defined(OPTICK_LINUX) || defined(OPTICK_OSX)
template<size_t sizeOfBuffer>
inline int sprintf_s(char(&buffer)[sizeOfBuffer], const char* format, ...)
Expand Down Expand Up @@ -199,8 +196,6 @@ inline int wcstombs_s(char(&buffer)[sizeOfBuffer], const wchar_t* src, size_t ma
return ::wcstombs_s(&converted, buffer, src, maxCount);
}
#endif

}
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

#endif //USE_OPTICK

0 comments on commit 7aeea45

Please sign in to comment.