Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[libRTV] Use "ntohll" function implementation from SDK on VS2012

  • Loading branch information...
commit 4e6876ec234b42e6b6d968facc8e567bb8fa317f 1 parent bb5752d
@Karlson2k authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  lib/libRTV/GuideParser.cpp
View
3  lib/libRTV/GuideParser.cpp
@@ -855,6 +855,7 @@ int CalculateMinutes( int seconds )
//-------------------------------------------------------------------------
//-------------------------------------------------------------------------
+#if _MSC_VER < 1700
DWORD64 ntohll(DWORD64 llValue)
{
DWORD64 retval = 0;
@@ -884,7 +885,7 @@ DWORD64 ntohll(DWORD64 llValue)
return retval;
}
-
+#endif // _MSC_VER < 1700
//-------------------------------------------------------------------------
void ConvertProgramInfoEndian(struct tagProgramInfo * strProgramInfo)
{
Please sign in to comment.
Something went wrong with that request. Please try again.