--- libcoro/coro.c 2007/05/02 05:53:26 1.27 +++ libcoro/coro.c 2008/01/20 17:30:24 1.28 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001-2006 Marc Alexander Lehmann + * Copyright (c) 2001-2008 Marc Alexander Lehmann * * Redistribution and use in source and binary forms, with or without modifica- * tion, are permitted provided that the following conditions are met: @@ -68,8 +68,8 @@ static volatile coro_context *new_coro, *create_coro; /* what we really want to detect here is wether we use a new-enough version of GAS */ -/* instead, check for gcc 3 and ELF and hope for the best */ -#if __GNUC__ >= 3 && __ELF__ +/* instead, check for gcc 3, ELF and GNU/Linux and hope for the best */ +#if __GNUC__ >= 3 && __ELF__ && __linux__ # define HAVE_CFI 1 #endif