This is an automated email from the ASF dual-hosted git repository.
ligd pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new 3ce3d4cb20a crypto/blake2s.h: fix tasking compile warning
3ce3d4cb20a is described below
commit 3ce3d4cb20aa2922605124446e5ec69520a78dd7
Author: makejian <[email protected]>
AuthorDate: Fri Oct 10 11:31:20 2025 +0800
crypto/blake2s.h: fix tasking compile warning
Fix unexpected text after preprocessing directive compilation warning
in blake2s.h header file.
Signed-off-by: makejian <[email protected]>
---
include/nuttx/crypto/blake2s.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/nuttx/crypto/blake2s.h b/include/nuttx/crypto/blake2s.h
index 150b7b5cb0c..6be72fd15c7 100644
--- a/include/nuttx/crypto/blake2s.h
+++ b/include/nuttx/crypto/blake2s.h
@@ -88,7 +88,7 @@ typedef struct blake2s_param__
uint8_t personal[BLAKE2S_PERSONALBYTES]; /* 32 */
} blake2s_param;
-#ifdef __GNUC__ > 3
+#if defined(__GNUC__) && __GNUC__ > 3
#define BLAKE2_UNALIGNED 1
typedef uint32_t uint32_alias_t __attribute__((may_alias));
typedef uint16_t uint16_alias_t __attribute__((may_alias));