summaryrefslogtreecommitdiff
path: root/src/win32
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2004-10-16 20:26:12 +0000
committerNick Mathewson <nickm@torproject.org>2004-10-16 20:26:12 +0000
commitf619c4603ea7c4dcd66fe67ce6ff76502af11865 (patch)
treeb87c1fc37be02631be2b586bf52c0d6c9ba03778 /src/win32
parent56a592dbe36701bbfdc262866d35ed34a265925e (diff)
downloadtor-f619c4603ea7c4dcd66fe67ce6ff76502af11865.tar.gz
tor-f619c4603ea7c4dcd66fe67ce6ff76502af11865.zip
Add an autoconf test to make sure that memset(&ptr, 0, sizeof(ptr)) and ptr=NULL are equivalent
svn:r2536
Diffstat (limited to 'src/win32')
-rw-r--r--src/win32/orconfig.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/win32/orconfig.h b/src/win32/orconfig.h
index 88d6d8c4e6..dc7bb90224 100644
--- a/src/win32/orconfig.h
+++ b/src/win32/orconfig.h
@@ -124,11 +124,13 @@
/* Define to 1 if you have the <unistd.h> header file. */
#undef HAVE_UNISTD_H
+/* Define to 1 iff unaligned int access is allowed */
+#define NULL_REP_IS_ZERO_BYTES 1
+
/* Name of package */
#define PACKAGE "tor"
-/* Def
-ine to the address where bug reports for this package should be sent. */
+/* Define to the address where bug reports for this package should be sent. */
#undef PACKAGE_BUGREPORT
/* Define to the full name of this package. */