aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlloyd <[email protected]>2006-08-21 07:40:28 +0000
committerlloyd <[email protected]>2006-08-21 07:40:28 +0000
commit9867f6bff71c3d7dcfd20a02ff3ccba690b58ce8 (patch)
tree9e7b3f1f398b6c6143f0cd603e5a4afc18b9d996
parentea21e3bfc7a2e82172a5fd5a32890a88b982a649 (diff)
Remove a check for GCC in the source; that's what the module compiler
restrictions are for.
-rw-r--r--modules/tm_hard/tm_hard.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/modules/tm_hard/tm_hard.cpp b/modules/tm_hard/tm_hard.cpp
index 0005f79c2..f5f9b3ed5 100644
--- a/modules/tm_hard/tm_hard.cpp
+++ b/modules/tm_hard/tm_hard.cpp
@@ -15,10 +15,6 @@ u64bit Hardware_Timer::clock() const
{
u64bit rtc = 0;
-#if !defined(__GNUC__)
- #error "This module uses GCC-style inline asm"
-#endif
-
#if defined(BOTAN_TARGET_ARCH_IS_IA32) || defined(BOTAN_TARGET_ARCH_IS_AMD64)
u32bit rtc_low = 0, rtc_high = 0;
asm volatile("rdtsc" : "=d" (rtc_high), "=a" (rtc_low));