From: Nils Durner Date: Tue, 25 Aug 2009 19:49:51 +0000 (+0000) Subject: MinGW fix X-Git-Tag: initial-import-from-subversion-38251~23590 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=0ef70992c5478dcf16329bf18f7516c820912930;p=oweals%2Fgnunet.git MinGW fix --- 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;