1
mirror of https://github.com/jedisct1/libsodium.git synced 2024-12-20 02:25:14 -07:00

Revert "Solaris Studio apparently supports __attribute__()"

This reverts commit 74a4496cc5.
This commit is contained in:
Frank Denis 2018-01-15 13:34:31 +01:00
parent bc6541a70a
commit 0468e778d2
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
#ifndef sodium_export_H
#define sodium_export_H
#if !defined(__clang__) && !defined(__GNUC__) && !defined(__SUNPRO_C)
#if !defined(__clang__) && !defined(__GNUC__)
# ifdef __attribute__
# undef __attribute__
# endif

View File

@ -196,7 +196,7 @@ xor_buf(unsigned char *out, const unsigned char *in, size_t n)
}
}
#if !defined(__clang__) && !defined(__GNUC__) && !defined(__SUNPRO_C)
#if !defined(__clang__) && !defined(__GNUC__)
# ifdef __attribute__
# undef __attribute__
# endif