os/ossrv/ossrv_pub/dbus/inc/dbus-arch-deps.h
author sl@SLION-WIN7.fritz.box
Fri, 15 Jun 2012 03:10:57 +0200
changeset 0 bde4ae8d615e
permissions -rw-r--r--
First public contribution.
sl@0
     1
/* -*- mode: C; c-file-style: "gnu" -*- */
sl@0
     2
/* dbus-arch-deps.h Header with architecture/compiler specific information, installed to libdir
sl@0
     3
 *
sl@0
     4
 * Copyright (C) 2003 Red Hat, Inc.
sl@0
     5
 *
sl@0
     6
 * Licensed under the Academic Free License version 2.0
sl@0
     7
 * 
sl@0
     8
 * This program is free software; you can redistribute it and/or modify
sl@0
     9
 * it under the terms of the GNU General Public License as published by
sl@0
    10
 * the Free Software Foundation; either version 2 of the License, or
sl@0
    11
 * (at your option) any later version.
sl@0
    12
 *
sl@0
    13
 * This program is distributed in the hope that it will be useful,
sl@0
    14
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
sl@0
    15
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
sl@0
    16
 * GNU General Public License for more details.
sl@0
    17
 * 
sl@0
    18
 * You should have received a copy of the GNU General Public License
sl@0
    19
 * along with this program; if not, write to the Free Software
sl@0
    20
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
sl@0
    21
 *
sl@0
    22
 */
sl@0
    23
#if !defined (DBUS_INSIDE_DBUS_H) && !defined (DBUS_COMPILATION)
sl@0
    24
#error "Only <dbus/dbus.h> can be included directly, this file may disappear or change contents."
sl@0
    25
#endif
sl@0
    26
sl@0
    27
#ifndef DBUS_ARCH_DEPS_H
sl@0
    28
#define DBUS_ARCH_DEPS_H
sl@0
    29
sl@0
    30
#include <dbus/dbus-macros.h>
sl@0
    31
sl@0
    32
DBUS_BEGIN_DECLS
sl@0
    33
sl@0
    34
#if 1
sl@0
    35
#define DBUS_HAVE_INT64 1
sl@0
    36
typedef long long dbus_int64_t;
sl@0
    37
typedef unsigned long long dbus_uint64_t;
sl@0
    38
sl@0
    39
#define DBUS_INT64_CONSTANT(val)  (val##LL)
sl@0
    40
#define DBUS_UINT64_CONSTANT(val) (val##ULL)
sl@0
    41
sl@0
    42
#else
sl@0
    43
#undef DBUS_HAVE_INT64
sl@0
    44
#undef DBUS_INT64_CONSTANT
sl@0
    45
#undef DBUS_UINT64_CONSTANT
sl@0
    46
#endif
sl@0
    47
sl@0
    48
typedef int dbus_int32_t;
sl@0
    49
typedef unsigned int dbus_uint32_t;
sl@0
    50
sl@0
    51
typedef short dbus_int16_t;
sl@0
    52
typedef unsigned short dbus_uint16_t;
sl@0
    53
sl@0
    54
DBUS_END_DECLS
sl@0
    55
sl@0
    56
#endif /* DBUS_ARCH_DEPS_H */