Skip to content

Commit

Permalink
Merge pull request #141 from aous72/better_arm_support
Browse files Browse the repository at this point in the history
Fixes a mistake in the last commit.
  • Loading branch information
aous72 authored May 22, 2024
2 parents 2dae6ca + 6595455 commit 9de6266
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/core/common/ojph_version.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@

#define OPENJPH_VERSION_MAJOR 0
#define OPENJPH_VERSION_MINOR 13
#define OPENJPH_VERSION_PATCH 2
#define OPENJPH_VERSION_PATCH 3
6 changes: 3 additions & 3 deletions src/core/others/ojph_arch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ namespace ojph {

#else // Linux

#ifdef defined(__aarch64__) || defined(_M_ARM64) // 64 bit ARM
#if defined(__aarch64__) || defined(_M_ARM64) // 64-bit ARM

#include <sys/auxv.h>
#include <asm/hwcap.h>
Expand All @@ -191,7 +191,7 @@ namespace ojph {
return true;
}

#else // ARM 32 bit
#else // 32-bit ARM

#include <sys/auxv.h>
#include <asm/hwcap.h>
Expand All @@ -204,7 +204,7 @@ namespace ojph {
return true;
}

#endif // end of ARM 64 bit
#endif // end of 64-bit ARM

#endif

Expand Down

0 comments on commit 9de6266

Please sign in to comment.