Closed GoogleCodeExporter closed 9 years ago
[deleted comment]
my patch can fix the compile error.
but I don't think that is a good solution.
any help would be appreciated.
thanks.
Original comment by issac.xw...@gmail.com
on 17 Apr 2013 at 2:43
Attachments:
Does it build if you change it to #include <sched.h> instead?
Original comment by thestig@chromium.org
on 17 Apr 2013 at 5:22
yes, but I don't need to make that change,it is already there.
line 71 of exception_handler.cc.
Original comment by issac.xw...@gmail.com
on 17 Apr 2013 at 7:25
and I look into file history.
I found that r790 made that include to make it build with Android NDK r5.
please refer to:
https://code.google.com/p/google-breakpad/source/detail?r=790&path=/trunk/src/cl
ient/linux/handler/exception_handler.cc
so I think the include below:
#include "linux/sched.h"
should be available only for android build, doesn't it?
Original comment by issac.xw...@gmail.com
on 17 Apr 2013 at 7:35
Ted, can you see if the #include in question is needed?
Original comment by thestig@chromium.org
on 17 Apr 2013 at 6:33
It appears to still be needed with a modern NDK (r8d). I'll just ifdef it for
Android only. I tested and this builds fine with the NDK and with my x86-64
toolchain on Ubuntu.
http://code.google.com/p/google-breakpad/source/detail?r=1153
Original comment by ted.mielczarek
on 18 Apr 2013 at 1:24
Original issue reported on code.google.com by
issac.xw...@gmail.com
on 17 Apr 2013 at 2:16