aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/sasl/patches/dllimport.patch
blob: 032c95bfa193fa08789ced9cbd07320cc4cf5bfa (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
--- contrib/libs/sasl/include/prop.h	(index)
+++ contrib/libs/sasl/include/prop.h	(working tree)
@@ -33,24 +33,8 @@
 /* Under Unix, life is simpler: we just need to mark library functions
  * as extern.  (Technically, we don't even have to do that.) */
-#ifdef WIN32
-# ifdef LIBSASL_EXPORTS
-#  define LIBSASL_API  extern __declspec(dllexport)
-# else /* LIBSASL_EXPORTS */
-#  define LIBSASL_API  extern __declspec(dllimport)
-# endif /* LIBSASL_EXPORTS */
-#else /* WIN32 */
 # define LIBSASL_API extern
-#endif /* WIN32 */
 
 /* Same as above, but used during a variable declaration. */
-#ifdef WIN32
-# ifdef LIBSASL_EXPORTS
-#  define LIBSASL_VAR  extern __declspec(dllexport)
-# else /* LIBSASL_EXPORTS */
-#  define LIBSASL_VAR  extern __declspec(dllimport)
-# endif /* LIBSASL_EXPORTS */
-#else /* WIN32 */
 # define LIBSASL_VAR extern
-#endif /* WIN32 */
 
 /* the resulting structure for property values