* k5-int.h (krb5int_zap_data): Fix preprocessor test for Windows
authorKen Raeburn <raeburn@mit.edu>
Sun, 9 Jan 2005 06:05:02 +0000 (06:05 +0000)
committerKen Raeburn <raeburn@mit.edu>
Sun, 9 Jan 2005 06:05:02 +0000 (06:05 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17013 dc483132-0cff-0310-8789-dd5450dbe970

src/include/ChangeLog
src/include/k5-int.h

index 21ac13728ca1e7301d59d35662d48f1d469521f8..3249c35d0404a8bec7113dcbb1dfe67ed8d4dc29 100644 (file)
@@ -1,3 +1,7 @@
+2005-01-09  Ken Raeburn  <raeburn@mit.edu>
+
+       * k5-int.h (krb5int_zap_data): Fix preprocessor test for Windows.
+
 2005-01-07  Ken Raeburn  <raeburn@mit.edu>
 
        * k5-thread.h (KRB5_CALLCONV, KRB5_CALLCONV_C): Define if not
index 1d913ed99801bc68e8b3be1f4afa35cdc6646db6..6b9ca41f127fedc3ead0124305c715de1f2c9e1f 100644 (file)
@@ -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)