Skip to content

Commit

Permalink
[libRTV] Use "ntohll" function implementation from SDK on VS2012
Browse files Browse the repository at this point in the history
  • Loading branch information
Karlson2k committed Aug 22, 2012
1 parent bb5752d commit 4e6876e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/libRTV/GuideParser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -855,6 +855,7 @@ int CalculateMinutes( int seconds )
//-------------------------------------------------------------------------

//-------------------------------------------------------------------------
#if _MSC_VER < 1700
DWORD64 ntohll(DWORD64 llValue)
{
DWORD64 retval = 0;
Expand Down Expand Up @@ -884,7 +885,7 @@ DWORD64 ntohll(DWORD64 llValue)

return retval;
}

#endif // _MSC_VER < 1700
//-------------------------------------------------------------------------
void ConvertProgramInfoEndian(struct tagProgramInfo * strProgramInfo)
{
Expand Down

0 comments on commit 4e6876e

Please sign in to comment.