Skip to content

Commit

Permalink
gpt: it's __mips64, not __mips64__
Browse files Browse the repository at this point in the history
But it's __mips__ not __mips, obviously

Follow-up for d75ec33

(cherry picked from commit 10ad311)
  • Loading branch information
bluca authored and keszybz committed Jul 17, 2023
1 parent 95d6516 commit 9c66d0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/systemd/sd-gpt.h
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ _SD_BEGIN_DECLARATIONS;
# define SD_GPT_USR_NATIVE SD_GPT_USR_MIPS_LE
# define SD_GPT_USR_NATIVE_VERITY SD_GPT_USR_MIPS_LE_VERITY
# define SD_GPT_USR_NATIVE_VERITY_SIG SD_GPT_USR_MIPS_LE_VERITY_SIG
#elif defined(__mips64__) && __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
#elif defined(__mips64) && __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
# define SD_GPT_ROOT_NATIVE SD_GPT_ROOT_MIPS64_LE
# define SD_GPT_ROOT_NATIVE_VERITY SD_GPT_ROOT_MIPS64_LE_VERITY
# define SD_GPT_ROOT_NATIVE_VERITY_SIG SD_GPT_ROOT_MIPS64_LE_VERITY_SIG
Expand Down

0 comments on commit 9c66d0c

Please sign in to comment.