[Libreoffice] LibreOffice / valgrind detection ...

2011-06-24 Thread Michael Meeks
Hi Julian, On Thu, 2011-06-23 at 11:59 +0200, Julian Seward wrote: Oh, I think I missed answering the simple question here. Thusly: Ah indeed :-) and I missed that in the headers. #include valgrind.h bool running_under_valgrind (void) { return (RUNNING_ON_VALGRIND) ?

Re: [Libreoffice] LibreOffice / valgrind detection ...

2011-06-24 Thread Julian Seward
Reading more carefully, it seems the #undef block at the bottom of a recent svn's valgrind.h doesn't match the similar undef at the top - is that intended ? [seems to miss eg. the s390 piece]. oh, our snafu. will fix. Caolan - what do you think of doing: [...] +if