dllimport.patch 915 B

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