summaryrefslogtreecommitdiff
path: root/coro.c
diff options
context:
space:
mode:
authorroot <root>2011-07-03 10:51:42 +0000
committerroot <root>2011-07-03 10:51:42 +0000
commitf3c8c7a09a526eb36fcbfcb70728c14e4ea2e46b (patch)
tree6bbf9ac9542f7f682e4324014b25b831e000debb /coro.c
parentfd8d33edb517daa60a65724494b9ce8a6226f89a (diff)
Diffstat (limited to 'coro.c')
-rw-r--r--coro.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/coro.c b/coro.c
index 7e69ab0..194cd46 100644
--- a/coro.c
+++ b/coro.c
@@ -88,8 +88,7 @@ coro_init (void)
coro_transfer (new_coro, create_coro);
-#if __linux && __amd64
- /* we blindly assume on any __linux with __amd64 we have a new enough gas with .cfi_undefined support */
+#if __GCC_HAVE_DWARF2_CFI_ASM && __amd64
asm (".cfi_undefined rip");
#endif