|
|
@@ -40,7 +40,7 @@ int removeOldTime = 1800;
|
|
|
#define RVC_VIDEOPLAY_END_TIME "17:30:00"
|
|
|
#endif // !RVC_VIDEOPLAY_END_TIME
|
|
|
|
|
|
-
|
|
|
+//TODO: CrossPlaform [Gifur@2025630]
|
|
|
#ifndef rvc_snprintf
|
|
|
#ifdef RVC_OS_WIN
|
|
|
#define rvc_snprintf _snprintf
|
|
|
@@ -151,6 +151,7 @@ static void CStringSplit(char* str, char** result, const char* del)
|
|
|
char* pdata = NULL;
|
|
|
char* p = NULL;
|
|
|
|
|
|
+ //TODO: CrossPlaform [Gifur@2025630]
|
|
|
#ifdef RVC_OS_WIN
|
|
|
p = strtok_s(str, del, &pdata);
|
|
|
#else
|
|
|
@@ -159,6 +160,7 @@ static void CStringSplit(char* str, char** result, const char* del)
|
|
|
|
|
|
while (p != NULL) {
|
|
|
*result++ = p;
|
|
|
+ //TODO: CrossPlaform [Gifur@2025630]
|
|
|
#ifdef RVC_OS_WIN
|
|
|
p = strtok_s(NULL, del, &pdata);
|
|
|
#else
|
|
|
@@ -178,6 +180,7 @@ static bool IsValidPlayTime(const char* pstrStartTime, const char* pstrEndTime)
|
|
|
#ifdef DEVOPS_ON_ST
|
|
|
|
|
|
#else
|
|
|
+ //TODO: CrossPlaform [Gifur@2025630]
|
|
|
#ifdef RVC_OS_WIN
|
|
|
SYSTEMTIME st;
|
|
|
GetLocalTime(&st);
|