Skip to content

Commit

Permalink
Add riscv64 to 64-bit architectures
Browse files Browse the repository at this point in the history
  • Loading branch information
hack3ric authored Nov 18, 2024
1 parent 93c3add commit 97e35b9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion OgreMain/include/OgrePlatform.h
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,8 @@ THE SOFTWARE.
#if defined( __x86_64__ ) || defined( _M_X64 ) || defined( _M_X64 ) || defined( _M_AMD64 ) || \
defined( __ppc64__ ) || defined( __PPC64__ ) || defined( __arm64__ ) || defined( __aarch64__ ) || \
defined( _M_ARM64 ) || defined( __mips64 ) || defined( __mips64_ ) || defined( __alpha__ ) || \
defined( __ia64__ ) || defined( __e2k__ ) || defined( __s390__ ) || defined( __s390x__ )
defined( __ia64__ ) || defined( __e2k__ ) || defined( __s390__ ) || defined( __s390x__ ) || \
(defined(__riscv) && __riscv_xlen == 64)
# define OGRE_ARCH_TYPE OGRE_ARCHITECTURE_64
#else
# define OGRE_ARCH_TYPE OGRE_ARCHITECTURE_32
Expand Down

0 comments on commit 97e35b9

Please sign in to comment.