Solaris Studio apparently supports __attribute__()

Fixes #660
This commit is contained in:
Frank Denis
2018-01-14 23:09:46 +01:00
parent 794ec886e7
commit 74a4496cc5
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
#ifndef sodium_export_H
#define sodium_export_H
#if !defined(__clang__) && !defined(__GNUC__)
#if !defined(__clang__) && !defined(__GNUC__) && !defined(__SUNPRO_C)
# ifdef __attribute__
# undef __attribute__
# endif
@@ -196,7 +196,7 @@ xor_buf(unsigned char *out, const unsigned char *in, size_t n)
}
}
#if !defined(__clang__) && !defined(__GNUC__)
#if !defined(__clang__) && !defined(__GNUC__) && !defined(__SUNPRO_C)
# ifdef __attribute__
# undef __attribute__
# endif