Fix another instance of the bogus malloc-hook check
This commit is contained in:
parent
ae03cd88e6
commit
541ec729cf
@ -24,3 +24,12 @@ index db54a6a..fa4352d 100755
|
|||||||
void *ptr;
|
void *ptr;
|
||||||
void *myhook(size_t size, const void *caller) {
|
void *myhook(size_t size, const void *caller) {
|
||||||
rc = 0;
|
rc = 0;
|
||||||
|
@@ -22252,7 +22252,7 @@ else
|
||||||
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||||
|
/* end confdefs.h. */
|
||||||
|
#include <malloc.h>
|
||||||
|
- static int rc = 1;
|
||||||
|
+ volatile static int rc = 1;
|
||||||
|
void *ptr;
|
||||||
|
void *myhook(size_t size, const void *caller) {
|
||||||
|
rc = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user