* des.h: Move explicit definition of _WINDOWS to precede
authorTom Yu <tlyu@mit.edu>
Wed, 4 Dec 2002 07:00:13 +0000 (07:00 +0000)
committerTom Yu <tlyu@mit.edu>
Wed, 4 Dec 2002 07:00:13 +0000 (07:00 +0000)
conditionalized inclusion of win-mac.h.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15026 dc483132-0cff-0310-8789-dd5450dbe970

src/include/kerberosIV/ChangeLog
src/include/kerberosIV/des.h

index 31a832e215b7b1071708ecf55998d85afeacd36e..5deb71aeec710745acd00c6dd20f18814c700c5f 100644 (file)
@@ -1,5 +1,8 @@
 2002-12-04  Tom Yu  <tlyu@mit.edu>
 
+       * des.h: Move explicit definition of _WINDOWS to precede
+       conditionalized inclusion of win-mac.h.
+
        * kadm.h: Include port-sockets.h, not netinet/in.h, for Windows
        portability.
 
index d51120958e671bbb55e72d65a5dacd925b1f2eff..25826f751bbfde55f17a1ae64015a29fb3c9c39d 100644 (file)
@@ -110,6 +110,9 @@ KRBINT_END_DECLS
 #ifndef KRB5INT_CRYPTO_DES_INT
 #define DES_DEFS
 
+#if defined(_WIN32) && !defined(_WINDOWS)
+#define _WINDOWS
+#endif
 #if defined(_WINDOWS)
 #ifndef KRB4
 #define KRB4 1
@@ -128,10 +131,6 @@ KRBINT_BEGIN_DECLS
 #      pragma options align=mac68k
 #endif
 
-#if defined(_WIN32) && !defined(_WINDOWS)
-#define _WINDOWS
-#endif
-
 /* Windows declarations */
 #ifndef KRB5_CALLCONV
 #define KRB5_CALLCONV