diff options
author | Nick Mathewson <nickm@torproject.org> | 2009-11-18 21:16:47 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2009-11-18 21:16:47 +0000 |
commit | 9bf124bff6d43fd9283c3ceb9629683ed790c136 (patch) | |
tree | b7c384e307412b7164d005741ca35a40fd9bf201 /test/regress.c | |
parent | 767eb70f5016cf65c3fad8e91ded8b4362bc79b0 (diff) | |
download | libevent-9bf124bff6d43fd9283c3ceb9629683ed790c136.tar.gz |
Build correctly with mm replacement turned off.
svn:r1547
Diffstat (limited to 'test/regress.c')
-rw-r--r-- | test/regress.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/regress.c b/test/regress.c index f5fc93e5..aeb6a0b2 100644 --- a/test/regress.c +++ b/test/regress.c @@ -1860,6 +1860,13 @@ end: } } +#ifdef _EVENT_DISABLE_MM_REPLACEMENT +static void +test_mm_functions(void *arg) +{ + _tinytest_set_test_skipped(); +} +#else static int check_dummy_mem_ok(void *_mem) { @@ -1914,6 +1921,7 @@ end: if (b) event_base_free(b); } +#endif static void many_event_cb(int fd, short event, void *arg) |