From dadbb48ae40d3d37720aea9820bb99357922af1c Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Sun, 9 Jan 2005 06:05:02 +0000 Subject: [PATCH] * k5-int.h (krb5int_zap_data): Fix preprocessor test for Windows git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17013 dc483132-0cff-0310-8789-dd5450dbe970 --- src/include/ChangeLog | 4 ++++ src/include/k5-int.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/include/ChangeLog b/src/include/ChangeLog index 21ac13728..3249c35d0 100644 --- a/src/include/ChangeLog +++ b/src/include/ChangeLog @@ -1,3 +1,7 @@ +2005-01-09 Ken Raeburn + + * k5-int.h (krb5int_zap_data): Fix preprocessor test for Windows. + 2005-01-07 Ken Raeburn * k5-thread.h (KRB5_CALLCONV, KRB5_CALLCONV_C): Define if not diff --git a/src/include/k5-int.h b/src/include/k5-int.h index 1d913ed99..6b9ca41f1 100644 --- a/src/include/k5-int.h +++ b/src/include/k5-int.h @@ -672,7 +672,7 @@ krb5_error_code krb5int_pbkdf2_hmac_sha1 (const krb5_data *, unsigned long, const krb5_data *); /* Make this a function eventually? */ -#ifdef WIN32 +#ifdef _WIN32 # define krb5int_zap_data(ptr, len) SecureZeroMemory(ptr, len) #else # define krb5int_zap_data(ptr, len) memset((volatile void *)ptr, 0, len) -- 2.26.2