summaryrefslogtreecommitdiffstats
path: root/src/include/win-mac.h
diff options
context:
space:
mode:
authorTheodore Tso <tytso@mit.edu>1999-03-12 00:03:04 +0000
committerTheodore Tso <tytso@mit.edu>1999-03-12 00:03:04 +0000
commit054fb854091970400ade1460e5e0be317821df58 (patch)
treeca9a27ddb927e452b9f4991e3b16f23e46023b14 /src/include/win-mac.h
parent6997ee01cde0b51e74cb496c4e90c8a68b830d70 (diff)
downloadkrb5-054fb854091970400ade1460e5e0be317821df58.tar.gz
krb5-054fb854091970400ade1460e5e0be317821df58.tar.xz
krb5-054fb854091970400ade1460e5e0be317821df58.zip
win-mac.h: Define GSS_DLLIMP to be __declspec(dllimport) or
__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
Diffstat (limited to 'src/include/win-mac.h')
-rw-r--r--src/include/win-mac.h29
1 files changed, 17 insertions, 12 deletions
diff --git a/src/include/win-mac.h b/src/include/win-mac.h
index 053a75edd6..1a8b284979 100644
--- a/src/include/win-mac.h
+++ b/src/include/win-mac.h
@@ -68,18 +68,23 @@
#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 */