check if MHD_DUAL_STACK is defined
authorMatthias Wachs <wachs@net.in.tum.de>
Fri, 6 Sep 2013 07:17:18 +0000 (07:17 +0000)
committerMatthias Wachs <wachs@net.in.tum.de>
Fri, 6 Sep 2013 07:17:18 +0000 (07:17 +0000)
src/namestore/gnunet-namestore-fcfsd.c

index b1f45b03a619a610f2503a6ad5dc1daa8617f8b5..c0b9f4da639d8ec23741685288455d00b60f058e 100644 (file)
@@ -929,7 +929,13 @@ identity_cb (void *cls,
     return;
   }
   fcfs_zone_pkey = *GNUNET_IDENTITY_ego_get_private_key (ego);
-  httpd = MHD_start_daemon (MHD_USE_DUAL_STACK | MHD_USE_DEBUG,
+
+
+  httpd = MHD_start_daemon (
+#ifdef MHD_USE_DUAL_STACK
+                   MHD_USE_DUAL_STACK |
+#endif
+                   MHD_USE_DEBUG,
                            (uint16_t) port,
                            NULL, NULL, 
                            &create_response, NULL,