projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Attempt to make the test suite work with Windows executables.
[tinc]
/
src
/
net_setup.c
diff --git
a/src/net_setup.c
b/src/net_setup.c
index
7d88c32
..
7b4c741
100644
(file)
--- a/
src/net_setup.c
+++ b/
src/net_setup.c
@@
-222,7
+222,7
@@
static bool read_ecdsa_private_key(void) {
return false;
}
return false;
}
-#if
!defined(HAVE_MINGW) && !defined(HAVE_CYGWIN)
+#if
ndef HAVE_MINGW
struct stat s;
if(fstat(fileno(fp), &s)) {
struct stat s;
if(fstat(fileno(fp), &s)) {
@@
-314,7
+314,7
@@
static bool read_rsa_private_key(void) {
return false;
}
return false;
}
-#if
!defined(HAVE_MINGW) && !defined(HAVE_CYGWIN)
+#if
ndef HAVE_MINGW
struct stat s;
if(fstat(fileno(fp), &s)) {
struct stat s;
if(fstat(fileno(fp), &s)) {