aboutsummaryrefslogtreecommitdiff
path: root/src/util/test_configuration.c
diff options
context:
space:
mode:
authorNils Durner <durner@gnunet.org>2009-08-25 19:49:51 +0000
committerNils Durner <durner@gnunet.org>2009-08-25 19:49:51 +0000
commit0ef70992c5478dcf16329bf18f7516c820912930 (patch)
treef00f5cc660a702efff9388298d4d276fb526f22b /src/util/test_configuration.c
parent9cbff87bf9b68c08242b1a6a79221311dc157fc0 (diff)
downloadgnunet-0ef70992c5478dcf16329bf18f7516c820912930.tar.gz
gnunet-0ef70992c5478dcf16329bf18f7516c820912930.zip
MinGW fix
Diffstat (limited to 'src/util/test_configuration.c')
-rw-r--r--src/util/test_configuration.c5
1 files changed, 5 insertions, 0 deletions
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 ()
67 if (GNUNET_OK != 67 if (GNUNET_OK !=
68 GNUNET_CONFIGURATION_get_value_filename (cfg, "last", "test", &c)) 68 GNUNET_CONFIGURATION_get_value_filename (cfg, "last", "test", &c))
69 return 8; 69 return 8;
70#ifndef MINGW
70 if (0 != strcmp (c, "/hello/world")) 71 if (0 != strcmp (c, "/hello/world"))
72#else
73 #define HI "\\hello\\world"
74 if (strstr (c, HI) != c + strlen (c) - strlen (HI))
75#endif
71 { 76 {
72 GNUNET_free (c); 77 GNUNET_free (c);
73 return 9; 78 return 9;