MinGW
authorNils Durner <durner@gnunet.org>
Thu, 7 Apr 2011 21:14:52 +0000 (21:14 +0000)
committerNils Durner <durner@gnunet.org>
Thu, 7 Apr 2011 21:14:52 +0000 (21:14 +0000)
src/hostlist/Makefile.am
src/include/gauger.h

index 8fa95c50e1766ddc78bc4034cf11a80da8c4d239..ec525e2fa1b83a16ee779420d7a15287d282241b 100644 (file)
@@ -25,7 +25,7 @@ gnunet_daemon_hostlist_LDADD = \
   $(top_builddir)/src/transport/libgnunettransport.la \
   $(top_builddir)/src/util/libgnunetutil.la \
   $(GN_LIBMHD) \
-  @LIBCURL@ \
+  @LIBCURL@ -lcurl \
   $(GN_LIBINTL)
 
 gnunet_daemon_hostlist_CPPFLAGS = \
index eb2f6d10958f8a23e106346ec5b8dea4ca9c9f1d..b45b2b83f1b60b1f9c98a6ecdd761e7ef10316da 100644 (file)
@@ -11,6 +11,8 @@
 #ifndef __GAUGER_H__
 #define __GAUGER_H__
 
+#ifndef WINDOWS
+
 #include <unistd.h>
 #include <stdio.h>
 #include <sys/wait.h>
     }\
 }
 
+#else
+
+#define GAUGER_ID(category, counter, value, unit, id) {}
+#define GAUGER(category, counter, value, unit) {}
+
+#endif // WINDOWS
+
 #endif