From bcb9c41c4364ec4e4c4fe705f7d56f4870d0d969 Mon Sep 17 00:00:00 2001 From: minggo Date: Wed, 20 Nov 2024 14:31:35 +0800 Subject: [PATCH] revert modification --- native/cocos/cocos-version.h | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/native/cocos/cocos-version.h b/native/cocos/cocos-version.h index 755b10a3868..2b5b7890fcb 100644 --- a/native/cocos/cocos-version.h +++ b/native/cocos/cocos-version.h @@ -23,15 +23,11 @@ THE SOFTWARE. ****************************************************************************/ #pragma once -enum { - COCOS_MAJOR_VERSION = 3, - COCOS_MINJOR_VERSION = 8, - COCOS_PATCH_VERSION = 6 -}; -#define COCOS_VERSION_STRING "3.8.6" -enum { - COCOS_VERSION_DEFINED = 1, - COCOS_VERSION = 30806 -}; +#define COCOS_MAJOR_VERSION 3 +#define COCOS_MINJOR_VERSION 8 +#define COCOS_PATCH_VERSION 5 +#define COCOS_VERSION_STRING "3.8.5" +#define COCOS_VERSION_DEFINED 1 +#define COCOS_VERSION 30805 // #define COCOS_PRE_RELEASE "release"