diff options
Diffstat (limited to 'src/microhttpd/test_helpers.h')
-rw-r--r-- | src/microhttpd/test_helpers.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/microhttpd/test_helpers.h b/src/microhttpd/test_helpers.h index c3f0f7be..4f015ef2 100644 --- a/src/microhttpd/test_helpers.h +++ b/src/microhttpd/test_helpers.h | |||
@@ -53,10 +53,10 @@ has_in_name(const char *prog_name, const char *marker) | |||
53 | { | 53 | { |
54 | if ('/' == prog_name[pos]) | 54 | if ('/' == prog_name[pos]) |
55 | name_pos = pos + 1; | 55 | name_pos = pos + 1; |
56 | #ifdef _WIN32 | 56 | #if defined(_WIN32) || defined(__CYGWIN__) |
57 | else if ('\\' == prog_name[pos]) | 57 | else if ('\\' == prog_name[pos]) |
58 | name_pos = pos + 1; | 58 | name_pos = pos + 1; |
59 | #endif /* _WIN32 */ | 59 | #endif /* _WIN32 || __CYGWIN__ */ |
60 | pos++; | 60 | pos++; |
61 | } | 61 | } |
62 | if (name_pos == pos) | 62 | if (name_pos == pos) |