aboutsummaryrefslogtreecommitdiff
path: root/lib/config-win32.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/config-win32.h')
-rw-r--r--lib/config-win32.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/config-win32.h b/lib/config-win32.h
index e17ef98ae..3a6f65716 100644
--- a/lib/config-win32.h
+++ b/lib/config-win32.h
@@ -235,6 +235,10 @@
/* lber dynamic library file */
/* #undef DL_LBER_FILE */
+/* Defines set for VS2005 to _not_ decprecate a few functions we use. */
+#define _CRT_SECURE_NO_DEPRECATE
+#define _CRT_NONSTDC_NO_DEPRECATE
+
/* ldap dynamic library file */
#define DL_LDAP_FILE "wldap32.dll"