static inline decls.
authorClaus Gittinger <cg@exept.de>
Sat, 23 Mar 2019 21:45:49 +0100
changeset 23959 5e284faa1acc
parent 23958 1c903aa4a100
child 23960 3103b5967df7
static inline decls.
SHA1Stream.st
--- a/SHA1Stream.st	Sat Mar 23 20:28:53 2019 +0100
+++ b/SHA1Stream.st	Sat Mar 23 21:45:49 2019 +0100
@@ -51,6 +51,11 @@
 
 #if (defined(__GNUC__) || defined(__CLANG__))
 # define STATIC_INLINE static inline
+#else
+# define STATIC_INLINE static
+#endif
+
+#if (defined(__GNUC__) || defined(__CLANG__))
 # if (defined(__SSE4_1__) && defined(__SHA__))
 #  if __SSE4_1__ && __SHA__
 // # define __SSE4_1__ 1
@@ -81,7 +86,7 @@
 # define SHA1Update __SHA1Update
 # define SHA1Final  __SHA2Final
 
- STATIC_INLINE void SHA1Init();
+STATIC_INLINE void SHA1Init();
  void SHA1Update();
  void SHA1Final();