win-mac.h: Define GSS_DLLIMP to be __declspec(dllimport) or
authorTheodore Tso <tytso@mit.edu>
Fri, 12 Mar 1999 00:03:04 +0000 (00:03 +0000)
committerTheodore Tso <tytso@mit.edu>
Fri, 12 Mar 1999 00:03:04 +0000 (00:03 +0000)
__declspec(dllexport) depending on whether GSS_DLL_FILE is defined.

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

src/include/ChangeLog
src/include/win-mac.h

index 6eda6f4daf802eb630d83c45931282d525bf580f..c500dd958a8fa0150f4c1f543cd14c8fcf1b1b43 100644 (file)
@@ -1,3 +1,14 @@
+1999-03-11  Theodore Ts'o  <tytso@rsts-11.mit.edu>
+
+       * win-mac.h: Define GSS_DLLIMP to be __declspec(dllimport) or
+               __declspec(dllexport)  depending on whether GSS_DLL_FILE
+               is defined.
+
+1999-02-19  Theodore Ts'o  <tytso@rsts-11.mit.edu>
+
+       * win-mac.h: Add definition for GSS_DLLIMP which is set ala
+               KRB5_DLLIMP, but controlled by the #define GSS_DLL_FILE.
+
 Mon Feb  8 21:51:10 1999  Theodore Y. Ts'o  <tytso@mit.edu>
 
        * krb5.hin (krb5_get_realm_domain): Add appropriate modifiers so
index 053a75edd632884354c842d50cb01d93cc1d0969..1a8b2849791fdf7ca012c28da464a669df3ee138 100644 (file)
 #define HAVE_LABS
 
 #ifndef KRB5_CALLCONV
-#ifdef _MSC_VER
-# ifdef KRB5_DLL_FILE
-# define KRB5_DLLIMP __declspec(dllexport)
-# else
-# define KRB5_DLLIMP __declspec(dllimport)
-# endif
-#else /* !_MSC_VER */
-# define KRB5_DLLIMP
-#endif
-#define KRB5_CALLCONV __stdcall
-#define KRB5_CALLCONV_C __cdecl
-#define KRB5_EXPORTVAR
+#  ifdef _MSC_VER
+#    ifdef KRB5_DLL_FILE
+#      define KRB5_DLLIMP __declspec(dllexport)
+#    else
+#      define KRB5_DLLIMP __declspec(dllimport)
+#    endif
+#    ifdef GSS_DLL_FILE
+#      define GSS_DLLIMP __declspec(dllexport)
+#    else
+#      define GSS_DLLIMP __declspec(dllimport)
+#    endif
+#  else /* !_MSC_VER */
+#    define KRB5_DLLIMP
+#  endif
+#  define KRB5_CALLCONV __stdcall
+#  define KRB5_CALLCONV_C __cdecl
+#  define KRB5_EXPORTVAR
 #endif /* !KRB5_CALLCONV */
 
 #endif /* _MSDOS */