Use the canonical _WIN32 instead of WIN32 to test for Win32.
authorDanilo Almeida <dalmeida@mit.edu>
Thu, 11 Apr 2002 03:10:12 +0000 (03:10 +0000)
committerDanilo Almeida <dalmeida@mit.edu>
Thu, 11 Apr 2002 03:10:12 +0000 (03:10 +0000)
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

src/lib/crypto/yarrow/ChangeLog
src/lib/crypto/yarrow/yarrow.c

index 041b9da6f1f32a52b5b2c005252d0063da4a3d0e..a39c5a4441f68cfc66f34be153cc5d22a0af6492 100644 (file)
@@ -1,3 +1,9 @@
+2002-04-10  Danilo Almeida  <dalmeida@mit.edu>
+
+       * 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  <hartmans@mit.edu>
 
        * yarrow.c (krb5int_yarrow_reseed): The MS word of  the integer
index 9f0dd24ce1fbe5cdf9389b86e8ce58e89756411f..4f90387cdd79d305885544a2f81f0b704a3841ad 100644 (file)
@@ -22,7 +22,9 @@
 
 #include <string.h>
 #include <limits.h>
-#if !defined(WIN32)
+#ifdef _WIN32
+#include "port-sockets.h"
+#else
 #   include <unistd.h>
 #   if defined(macintosh)
 #       include <Memory.h>