From: 諏訪子 Date: Mon, 23 Sep 2024 14:34:06 +0000 (+0900) Subject: . X-Git-Tag: sp-1.4.0 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=916693b4456a70b2baa7c02e56a7eefe09eac89e;p=sp.git . --- diff --git a/src/otppass.c b/src/otppass.c index 741af04..4d15eb2 100644 --- a/src/otppass.c +++ b/src/otppass.c @@ -64,7 +64,7 @@ unsigned char *extract_secret(const char *otpauth_url, size_t *decoded_len) { return secret_decoded; } -#if defined(__HAIKU__) || defined(__linux) +#if defined(__HAIKU__) uint64_t htobe64(uint64_t counter) { uint64_t res = 0; uint8_t *dest = (uint8_t *)&res;