From: Bart Polot Date: Wed, 22 Aug 2012 15:55:51 +0000 (+0000) Subject: - don't break build on osx, win X-Git-Tag: initial-import-from-subversion-38251~12134 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=1d6475f3849adac36f665d6261753c7eb2c3dd93;p=oweals%2Fgnunet.git - don't break build on osx, win --- 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__)