aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/random/nehemiah.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/random/nehemiah.c')
-rw-r--r--sys/dev/random/nehemiah.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/random/nehemiah.c b/sys/dev/random/nehemiah.c
index c0dba9e5da83..9780dbd2755a 100644
--- a/sys/dev/random/nehemiah.c
+++ b/sys/dev/random/nehemiah.c
@@ -85,7 +85,7 @@ static union VIA_ACE_CW acw __aligned(16);
static __inline size_t
VIA_RNG_store(void *buf)
{
-#if defined(__GNUC__) || defined(__INTEL_COMPILER)
+#ifdef __GNUCLIKE_ASM
uint32_t retval = 0;
uint32_t rate = 0;
@@ -107,7 +107,7 @@ VIA_RNG_store(void *buf)
static __inline void
VIA_ACE_cbc(void *in, void *out, size_t count, void *key, union VIA_ACE_CW *cw, void *iv)
{
-#if defined(__GNUC__) || defined(__INTEL_COMPILER)
+#ifdef __GNUCLIKE_ASM
/* The .byte line is really VIA C3 "xcrypt-cbc" instruction */
__asm __volatile(
"pushf \n\t"