Ver código fonte

Z991239-4887 #comment feat: 同步AccessAuthConn.h

陈纪林80310970 2 anos atrás
pai
commit
fb131ed595
1 arquivos alterados com 5 adições e 0 exclusões
  1. 5 0
      Module/mod_accessauth/AccessAuthConn.h

+ 5 - 0
Module/mod_accessauth/AccessAuthConn.h

@@ -1,5 +1,6 @@
 #ifndef __ACCESSAUTHCONN_H
 #define __ACCESSAUTHCONN_H
+#pragma once
 
 #include "SpSecureClient.h"
 #include "AccessAuthorization_def_g.h"
@@ -38,6 +39,7 @@ struct SMWKUpdateRet
 	BYTE kmcData[0];        // 变长1到300
 };
 
+#ifdef RVC_OS_LINUX
 //获取KMC密钥
 struct KMCKeyReq {
 	char TerminalNo[16];
@@ -50,6 +52,7 @@ struct KMCKeyRet {
 	char Index[8];
 	char Reserved[256];
 };
+#endif // RVC_OS_LINUX
 
 // 请求TOKEN时附带设备信息(未加密) 102 byte
 struct RequestTokenInfo
@@ -238,7 +241,9 @@ struct CheckMD5Req
 };
 #pragma pack()
 
+#ifdef RVC_OS_LINUX
 class CAccessAuthFSM;
 class CAccessAuthGetTokenReq;
+#endif // RVC_OS_LINUX
 
 #endif // !__ACCESSAUTHCONN_H