Path: blob/master/thirdparty/linuxbsd_headers/dbus/dbus-arch-deps.h
9898 views
/* -*- mode: C; c-file-style: "gnu" -*- */1/* dbus-arch-deps.h Header with architecture/compiler specific information, installed to libdir2*3* Copyright (C) 2003 Red Hat, Inc.4*5* Licensed under the Academic Free License version 2.06*7* This program is free software; you can redistribute it and/or modify8* it under the terms of the GNU General Public License as published by9* the Free Software Foundation; either version 2 of the License, or10* (at your option) any later version.11*12* This program is distributed in the hope that it will be useful,13* but WITHOUT ANY WARRANTY; without even the implied warranty of14* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the15* GNU General Public License for more details.16*17* You should have received a copy of the GNU General Public License18* along with this program; if not, write to the Free Software19* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA20*21*/22#if !defined (DBUS_INSIDE_DBUS_H) && !defined (DBUS_COMPILATION)23#error "Only <dbus/dbus.h> can be included directly, this file may disappear or change contents."24#endif2526#ifndef DBUS_ARCH_DEPS_H27#define DBUS_ARCH_DEPS_H2829#include <dbus/dbus-macros.h>3031DBUS_BEGIN_DECLS3233/* D-Bus no longer supports platforms with no 64-bit integer type. */34#define DBUS_HAVE_INT64 135_DBUS_GNUC_EXTENSION typedef long dbus_int64_t;36_DBUS_GNUC_EXTENSION typedef unsigned long dbus_uint64_t;3738#define DBUS_INT64_CONSTANT(val) (_DBUS_GNUC_EXTENSION (val##L))39#define DBUS_UINT64_CONSTANT(val) (_DBUS_GNUC_EXTENSION (val##UL))4041typedef int dbus_int32_t;42typedef unsigned int dbus_uint32_t;4344typedef short dbus_int16_t;45typedef unsigned short dbus_uint16_t;4647/* This is not really arch-dependent, but it's not worth48* creating an additional generated header just for this49*/50#define DBUS_MAJOR_VERSION 151#define DBUS_MINOR_VERSION 1252#define DBUS_MICRO_VERSION 25354#define DBUS_VERSION_STRING "1.12.2"5556#define DBUS_VERSION ((1 << 16) | (12 << 8) | (2))5758DBUS_END_DECLS5960#endif /* DBUS_ARCH_DEPS_H */616263