projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Replace MinGW with Windows to avoid ambiguities
[tinc]
/
src
/
xalloc.h
diff --git
a/src/xalloc.h
b/src/xalloc.h
index
33f30d0
..
da74ce1
100644
(file)
--- a/
src/xalloc.h
+++ b/
src/xalloc.h
@@
-67,7
+67,7
@@
static inline char *xstrdup(const char *s) {
}
static inline int xvasprintf(char **strp, const char *fmt, va_list ap) {
-#ifdef HAVE_
MINGW
+#ifdef HAVE_
WINDOWS
char buf[1024];
int result = vsnprintf(buf, sizeof(buf), fmt, ap);