diff options
Diffstat (limited to 'src/microhttpd/test_shutdown_select.c')
-rw-r--r-- | src/microhttpd/test_shutdown_select.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/microhttpd/test_shutdown_select.c b/src/microhttpd/test_shutdown_select.c index 1e4e3d82..934cde79 100644 --- a/src/microhttpd/test_shutdown_select.c +++ b/src/microhttpd/test_shutdown_select.c | |||
@@ -105,10 +105,10 @@ has_in_name(const char *prog_name, const char *marker) | |||
105 | { | 105 | { |
106 | if ('/' == prog_name[pos]) | 106 | if ('/' == prog_name[pos]) |
107 | name_pos = pos + 1; | 107 | name_pos = pos + 1; |
108 | #ifdef _WIN32 | 108 | #if defined(_WIN32) || defined(__CYGWIN__) |
109 | else if ('\\' == prog_name[pos]) | 109 | else if ('\\' == prog_name[pos]) |
110 | name_pos = pos + 1; | 110 | name_pos = pos + 1; |
111 | #endif /* _WIN32 */ | 111 | #endif /* _WIN32 || __CYGWIN__ */ |
112 | pos++; | 112 | pos++; |
113 | } | 113 | } |
114 | if (name_pos == pos) | 114 | if (name_pos == pos) |