From: Danilo Almeida Date: Thu, 11 Apr 2002 03:10:12 +0000 (+0000) Subject: Use the canonical _WIN32 instead of WIN32 to test for Win32. X-Git-Tag: krb5-1.3-alpha1~782 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a38c030fa2b520f4e0dd72b6b6b3d52caa30c409;p=krb5.git Use the canonical _WIN32 instead of WIN32 to test for Win32. Include port-sockets.h on Win32 (now that using WIN32_LEAN_AND_MEAN). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14375 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/crypto/yarrow/ChangeLog b/src/lib/crypto/yarrow/ChangeLog index 041b9da6f..a39c5a444 100644 --- a/src/lib/crypto/yarrow/ChangeLog +++ b/src/lib/crypto/yarrow/ChangeLog @@ -1,3 +1,9 @@ +2002-04-10 Danilo Almeida + + * yarrow.c: Use the canonical _WIN32 instead of WIN32 to test for + Win32. Include port-sockets.h on Win32 (now that using + WIN32_LEAN_AND_MEAN). + 2002-01-14 Sam Hartman * yarrow.c (krb5int_yarrow_reseed): The MS word of the integer diff --git a/src/lib/crypto/yarrow/yarrow.c b/src/lib/crypto/yarrow/yarrow.c index 9f0dd24ce..4f90387cd 100644 --- a/src/lib/crypto/yarrow/yarrow.c +++ b/src/lib/crypto/yarrow/yarrow.c @@ -22,7 +22,9 @@ #include #include -#if !defined(WIN32) +#ifdef _WIN32 +#include "port-sockets.h" +#else # include # if defined(macintosh) # include