From 1d6475f3849adac36f665d6261753c7eb2c3dd93 Mon Sep 17 00:00:00 2001 From: Bart Polot Date: Wed, 22 Aug 2012 15:55:51 +0000 Subject: [PATCH] - don't break build on osx, win --- src/mesh/Makefile.am | 2 ++ src/mesh/gnunet-service-mesh.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/mesh/Makefile.am b/src/mesh/Makefile.am index 03efcb458..4bcaca755 100644 --- a/src/mesh/Makefile.am +++ b/src/mesh/Makefile.am @@ -82,7 +82,9 @@ gnunet_service_mesh_DEPENDENCIES = \ $(top_builddir)/src/block/libgnunetblock.la \ libgnunetmeshblock.la \ $(top_builddir)/src/regex/libgnunetregex.la +if LINUX gnunet_service_mesh_LDFLAGS = -lrt +endif check_PROGRAMS = \ test_mesh_api \ diff --git a/src/mesh/gnunet-service-mesh.c b/src/mesh/gnunet-service-mesh.c index 61c7dec52..e1fa5797f 100644 --- a/src/mesh/gnunet-service-mesh.c +++ b/src/mesh/gnunet-service-mesh.c @@ -59,7 +59,7 @@ #define MESH_DEBUG_DHT GNUNET_NO #define MESH_DEBUG_CONNECTION GNUNET_NO -#define MESH_DEBUG_TIMING GNUNET_YES +#define MESH_DEBUG_TIMING __LINUX__ && GNUNET_YES #if MESH_DEBUG_CONNECTION #define DEBUG_CONN(...) GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, __VA_ARGS__) -- 2.25.1