diff options
author | Jack Lloyd <[email protected]> | 2017-12-31 16:47:02 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2017-12-31 16:47:02 -0500 |
commit | 16ebbe21a09655a4cca54ed5cb6859c12817660e (patch) | |
tree | 27d2a74c790098b26504bd1e1ea1db1b042cdad7 /src | |
parent | 22366ec256711e3f9fd35f8dbc5089c36ac8d8a3 (diff) |
Enable GCC inline asm under Sun Studio compilers
Fixes GH #848
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/utils/compiler.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/utils/compiler.h b/src/lib/utils/compiler.h index 0115ae00c..fd59c2d32 100644 --- a/src/lib/utils/compiler.h +++ b/src/lib/utils/compiler.h @@ -13,7 +13,7 @@ #define BOTAN_UTIL_COMPILER_FLAGS_H_ /* Should we use GCC-style inline assembler? */ -#if !defined(BOTAN_USE_GCC_INLINE_ASM) && (defined(__GNUC__) || defined(__xlc__)) +#if !defined(BOTAN_USE_GCC_INLINE_ASM) && (defined(__GNUC__) || defined(__xlc__) || defined(__SUNPRO_CC)) #define BOTAN_USE_GCC_INLINE_ASM 1 #endif |