Explorar el Código

Z991239-4900 #comment 同步代码

Signed-Off-By: commit-hook
刘文涛80174520 hace 2 años
padre
commit
2a7e4560c6
Se han modificado 1 ficheros con 3 adiciones y 2 borrados
  1. 3 2
      Module/mod_alarm/AlarmFSM.cpp

+ 3 - 2
Module/mod_alarm/AlarmFSM.cpp

@@ -1067,7 +1067,8 @@ std::string AlarmFSM::alarmJson()
 	return jsonStr;
 }
 
-
+#ifdef RVC_OS_WIN
+#else
 int AlarmFSM::HexBuf2StrBuf(PBYTE hexBuf, char** strBuf, DWORD len)
 {
 	char* tmpStr = *strBuf;
@@ -1080,5 +1081,5 @@ int AlarmFSM::HexBuf2StrBuf(PBYTE hexBuf, char** strBuf, DWORD len)
 	}
 	return 0;
 }
-
+#endif