projects
/
platform
/
upstream
/
dbus.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make the windows binaries and build match the linux one with cmake buildsystem.
[platform/upstream/dbus.git]
/
dbus
/
dbus-macros.h
diff --git
a/dbus/dbus-macros.h
b/dbus/dbus-macros.h
index
3102a95
..
d1e40ec
100644
(file)
--- a/
dbus/dbus-macros.h
+++ b/
dbus/dbus-macros.h
@@
-158,7
+158,9
@@
*/
#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)