diff options
author | Werner Koch <wk@gnupg.org> | 2007-12-10 09:17:25 +0000 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2007-12-10 09:17:25 +0000 |
commit | a7ce99fa757b84d2157c25d04bd2bb97cd50b747 (patch) | |
tree | b51c69bba7458ecc3cc2f4526ed681e7c55a45e9 /src/hwfeatures.c | |
parent | 9ea615f14905e3a764dca0ae1ec73ab6671d844a (diff) | |
download | libgcrypt-a7ce99fa757b84d2157c25d04bd2bb97cd50b747.tar.gz |
Preparing 1.4.0.
Diffstat (limited to 'src/hwfeatures.c')
-rw-r--r-- | src/hwfeatures.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/hwfeatures.c b/src/hwfeatures.c index 6908c587..200da2c2 100644 --- a/src/hwfeatures.c +++ b/src/hwfeatures.c @@ -44,6 +44,9 @@ _gcry_get_hw_features (void) static void detect_ia32_gnuc (void) { +#ifdef ENABLE_PADLOCK_SUPPORT + /* The code here is only useful for the PadLock engine thus we don't + build it if that support has been disabled. */ int has_cpuid = 0; char vendor_id[12+1]; @@ -137,9 +140,8 @@ detect_ia32_gnuc (void) : "%eax", "%edx", "cc" ); } - +#endif /*ENABLE_PADLOCK_SUPPORT*/ } - #endif /* __i386__ && SIZEOF_UNSIGNED_LONG == 4 && __GNUC__ */ |