diff options
| author | Garrett D'Amore <garrett@damore.org> | 2018-02-22 19:18:25 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2018-02-22 19:18:25 -0800 |
| commit | 0bc833d0dcc9460617e94d18d8d94145c39e837c (patch) | |
| tree | c2381627bae17b9884244f091e7b4aa662e163f9 /perf | |
| parent | 1ba0631ca545a69488f4a60e051476fea067a154 (diff) | |
| download | nng-0bc833d0dcc9460617e94d18d8d94145c39e837c.tar.gz nng-0bc833d0dcc9460617e94d18d8d94145c39e837c.tar.bz2 nng-0bc833d0dcc9460617e94d18d8d94145c39e837c.zip | |
Fix compilation of perf tool (broken by modularity changes.)
Diffstat (limited to 'perf')
| -rw-r--r-- | perf/perf.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/perf/perf.c b/perf/perf.c index 593f635e..ca79fdcd 100644 --- a/perf/perf.c +++ b/perf/perf.c @@ -18,10 +18,10 @@ #include "supplemental/util/platform.h" -#if defined(NNG_ENABLE_PAIR1) +#if defined(NNG_HAVE_PAIR1) #include "protocol/pair1/pair.h" -#elif defined(NNG_ENABLE_PAIR0) +#elif defined(NNG_HAVE_PAIR0) #include "protocol/pair0/pair.h" #else @@ -220,7 +220,7 @@ do_inproc(void *args) void do_inproc_lat(int argc, char **argv) { - nng_thread *thr; + nng_thread * thr; struct inproc_args ia; int rv; @@ -247,7 +247,7 @@ do_inproc_lat(int argc, char **argv) void do_inproc_thr(int argc, char **argv) { - nng_thread *thr; + nng_thread * thr; struct inproc_args ia; int rv; |
