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_EMBEDDED_TESTS
33# define DBUS_EMBEDDED_TESTS_EXPORT DBUS_PRIVATE_EXPORT
35# define DBUS_EMBEDDED_TESTS_EXPORT
38#if defined(DBUS_PRIVATE_EXPORT)
41# if defined(DBUS_STATIC_BUILD)
42# define DBUS_PRIVATE_EXPORT
43# elif defined(dbus_1_EXPORTS)
44# define DBUS_PRIVATE_EXPORT __declspec(dllexport)
46# define DBUS_PRIVATE_EXPORT __declspec(dllimport)
48#elif defined(__GNUC__) && __GNUC__ >= 4
49# define DBUS_PRIVATE_EXPORT __attribute__ ((__visibility__ ("default")))
51# define DBUS_PRIVATE_EXPORT