projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix checks for Cygwin-related macros.
[tinc]
/
src
/
utils.c
diff --git
a/src/utils.c
b/src/utils.c
index
28f60e8
..
70a5c99
100644
(file)
--- a/
src/utils.c
+++ b/
src/utils.c
@@
-54,8
+54,8
@@
void bin2hex(char *src, char *dst, int length) {
}
}
-#if defined(HAVE_MINGW) || defined(HAVE_
__CYGWIN32__
)
-#ifdef HAVE_
__CYGWIN32__
+#if defined(HAVE_MINGW) || defined(HAVE_
CYGWIN
)
+#ifdef HAVE_
CYGWIN
#include <w32api/windows.h>
#endif