adding number of preferences to allow iterating over preferences
[oweals/gnunet.git] / src / include / gnunet_psyc_service.h
index 25b405dad3ededf00552ff6e19e927fc44d8318e..5239acb1688e34ffa6c91fc1c4fb97f04d15515e 100644 (file)
@@ -1,6 +1,6 @@
 /*
      This file is part of GNUnet.
-     (C) 2012, 2013 Christian Grothoff (and other contributing authors)
+     Copyright (C) 2012, 2013 Christian Grothoff (and other contributing authors)
 
      GNUnet is free software; you can redistribute it and/or modify
      it under the terms of the GNU General Public License as published
@@ -88,7 +88,12 @@ extern "C"
 #include "gnunet_util_lib.h"
 #include "gnunet_env_lib.h"
 #include "gnunet_multicast_service.h"
-
+//Mingw work around
+#ifdef MINGW
+    # ifndef  UINT64_MAX
+    # define  UINT64_MAX 0xffffffffffffffffULL
+    # endif
+#endif
 
 /**
  * Version number of GNUnet-PSYC API.