From: Ken Raeburn Date: Sun, 9 Jan 2005 06:05:02 +0000 (+0000) Subject: * k5-int.h (krb5int_zap_data): Fix preprocessor test for Windows X-Git-Tag: ms-bug-test-20060525~395 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=dadbb48ae40d3d37720aea9820bb99357922af1c;p=krb5.git * 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 --- 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)