summaryrefslogtreecommitdiff
path: root/src/common/compat.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2015-07-12 14:34:11 -0400
committerNick Mathewson <nickm@torproject.org>2015-07-12 14:34:11 -0400
commitdb88d91ebedd407531784cf7fa8df0bd4f1f4164 (patch)
treec1bb7da85c9bdef191fec0e88a935aba9bfc97c4 /src/common/compat.c
parent6b80ff1b45c6c60a28dcbd40cdc3ab9cb421ed81 (diff)
downloadtor-db88d91ebedd407531784cf7fa8df0bd4f1f4164.tar.gz
tor-db88d91ebedd407531784cf7fa8df0bd4f1f4164.zip
Nth time is maybe the charm for fixing windows readpassword build errors
Diffstat (limited to 'src/common/compat.c')
-rw-r--r--src/common/compat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/compat.c b/src/common/compat.c
index 9d01c9deb3..69c47052c8 100644
--- a/src/common/compat.c
+++ b/src/common/compat.c
@@ -73,13 +73,13 @@
#include <conio.h>
#include <wchar.h>
/* Some mingw headers lack these. :p */
-#ifndef HAVE__GETWCH
+#ifndef HAVE_DECL__GETWCH
wint_t _getwch(void);
#endif
#ifndef WEOF
#define WEOF (wchar_t)(0xFFFF)
#endif
-#ifndef HAVE_SECUREZEROMEMORY
+#ifndef HAVE_DECL_SECUREZEROMEMORY
PVOID SecureZeroMemory(PVOID ptr, SIZE_T cnt);
#endif
#elif defined(HAVE_READPASSPHRASE_H)