Browse Source

Z991239-527 #comment other: 更新平台宏定义

gifur 5 years ago
parent
commit
4d08036582
2 changed files with 4 additions and 4 deletions
  1. 2 2
      Common/PlatformDef.h
  2. 2 2
      Common/targetver.h

+ 2 - 2
Common/PlatformDef.h

@@ -5,11 +5,11 @@
 
 #if defined(linux) || defined(__linux) || defined(__linux__)
 
-#  define RVC_PLATFORM_LINUX
+#  define RVC_OS_LINUX
 
 #elif defined(WIN32) || defined(__WIN32__) || defined(_WIN32) || defined(_MSC_VER)
 
-#  define RVC_PLATFORM_WINDOWS
+#  define RVC_OS_WIN
 
 #endif
 

+ 2 - 2
Common/targetver.h

@@ -5,7 +5,7 @@
 
 #include "PlatformDef.h"
 
-#ifdef RVC_PLATFORM_WINDOWS
+#ifdef RVC_OS_WIN
 
 // The following macros define the minimum required platform.  The minimum required platform
 // is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run 
@@ -82,6 +82,6 @@ Internet Explorer 3.0, 3.01, 3.02 	_WIN32_IE>=0x0300
 
 */
 
-#endif // RVC_PLATFORM_WINDOWS
+#endif // RVC_OS_WIN
 
 #endif /** _RVC_TARGET_VER_H__*/