[Click] [PATCH 12/12] Configury: workaround ___assert_task_state
Eddie Kohler
kohler at cs.ucla.edu
Wed Sep 29 19:20:52 EDT 2010
This patch is risky, because the * in (.+\n)* is greedy; you want it to not be
greedy. I've applied a related patch. Although the problem is probably that
ilog2 should be returning a compile time constant in C++ but is not. Without
a correctly set up Linux I can't check.
E
On 09/25/2010 10:39 PM, Joonwoo Park wrote:
> + if ($d eq "sched.h") {
> + s<(^extern char ___assert_task_state)((.+\n)*.*(\;))><\#ifndef __cplusplus\n$1$2\n\#endif>mg;
> + }
More information about the click
mailing list