23#ifdef DBUS_INSIDE_DBUS_H
24#error "You can't include dbus-macros-internal.h in the public header dbus.h"
27#ifndef DBUS_MACROS_INTERNAL_H
28#define DBUS_MACROS_INTERNAL_H
30#include <dbus/dbus-macros.h>
32#ifdef DBUS_ENABLE_INTRUSIVE_TESTS
33# define DBUS_INTRUSIVE_TESTS_EXPORT DBUS_PRIVATE_EXPORT
35# define DBUS_INTRUSIVE_TESTS_EXPORT
37#define DBUS_EMBEDDED_TESTS_EXPORT DBUS_INTRUSIVE_TESTS_EXPORT
39#if defined(DBUS_PRIVATE_EXPORT)
42# if defined(DBUS_STATIC_BUILD)
43# define DBUS_PRIVATE_EXPORT
44# elif defined(dbus_1_EXPORTS)
45# define DBUS_PRIVATE_EXPORT __declspec(dllexport)
47# define DBUS_PRIVATE_EXPORT __declspec(dllimport)
49#elif defined(__GNUC__) && __GNUC__ >= 4
50# define DBUS_PRIVATE_EXPORT __attribute__ ((__visibility__ ("default")))
52# define DBUS_PRIVATE_EXPORT