From 0ef70992c5478dcf16329bf18f7516c820912930 Mon Sep 17 00:00:00 2001 From: Nils Durner Date: Tue, 25 Aug 2009 19:49:51 +0000 Subject: [PATCH] MinGW fix --- src/util/test_configuration.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/util/test_configuration.c b/src/util/test_configuration.c index 2f37c684c..6a2fda699 100644 --- a/src/util/test_configuration.c +++ b/src/util/test_configuration.c @@ -67,7 +67,12 @@ testConfig () if (GNUNET_OK != GNUNET_CONFIGURATION_get_value_filename (cfg, "last", "test", &c)) return 8; +#ifndef MINGW if (0 != strcmp (c, "/hello/world")) +#else + #define HI "\\hello\\world" + if (strstr (c, HI) != c + strlen (c) - strlen (HI)) +#endif { GNUNET_free (c); return 9; -- 2.25.1