]> Nishi Git Mirror - sp.git/commitdiff
. sp-1.4.0
author諏訪子 <suwako@076.moe>
Mon, 23 Sep 2024 14:34:06 +0000 (23:34 +0900)
committer諏訪子 <suwako@076.moe>
Mon, 23 Sep 2024 14:34:06 +0000 (23:34 +0900)
src/otppass.c

index 741af041557581ce40c883ab73f72d093b598ab2..4d15eb2c160df8ea44f9238293edd495856426e5 100644 (file)
@@ -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;