Make the windows binaries and build match the linux one with cmake buildsystem.
[platform/upstream/dbus.git] / dbus / dbus-macros.h
index 3102a95..d1e40ec 100644 (file)
  */
 
 #if defined(_WIN32)
-#  if defined(dbus_1_EXPORTS)
+#  if defined(DBUS_STATIC_BUILD)
+#  define DBUS_EXPORT
+#  elif defined(dbus_1_EXPORTS)
 #  define DBUS_EXPORT __declspec(dllexport)
 #  else
 #  define DBUS_EXPORT __declspec(dllimport)