williamr@2: /* -*- mode: C; c-file-style: "gnu" -*- */
williamr@2: /* dbus-arch-deps.h Header with architecture/compiler specific information, installed to libdir
williamr@2:  *
williamr@2:  * Copyright (C) 2003 Red Hat, Inc.
williamr@2:  *
williamr@2:  * Licensed under the Academic Free License version 2.0
williamr@2:  * 
williamr@2:  * This program is free software; you can redistribute it and/or modify
williamr@2:  * it under the terms of the GNU General Public License as published by
williamr@2:  * the Free Software Foundation; either version 2 of the License, or
williamr@2:  * (at your option) any later version.
williamr@2:  *
williamr@2:  * This program is distributed in the hope that it will be useful,
williamr@2:  * but WITHOUT ANY WARRANTY; without even the implied warranty of
williamr@2:  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
williamr@2:  * GNU General Public License for more details.
williamr@2:  * 
williamr@2:  * You should have received a copy of the GNU General Public License
williamr@2:  * along with this program; if not, write to the Free Software
williamr@2:  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
williamr@2:  *
williamr@2:  */
williamr@2: #if !defined (DBUS_INSIDE_DBUS_H) && !defined (DBUS_COMPILATION)
williamr@2: #error "Only <dbus/dbus.h> can be included directly, this file may disappear or change contents."
williamr@2: #endif
williamr@2: 
williamr@2: #ifndef DBUS_ARCH_DEPS_H
williamr@2: #define DBUS_ARCH_DEPS_H
williamr@2: 
williamr@2: #include <dbus/dbus-macros.h>
williamr@2: 
williamr@2: DBUS_BEGIN_DECLS
williamr@2: 
williamr@2: #if 1
williamr@2: #define DBUS_HAVE_INT64 1
williamr@2: typedef long long dbus_int64_t;
williamr@2: typedef unsigned long long dbus_uint64_t;
williamr@2: 
williamr@2: #define DBUS_INT64_CONSTANT(val)  (val##LL)
williamr@2: #define DBUS_UINT64_CONSTANT(val) (val##ULL)
williamr@2: 
williamr@2: #else
williamr@2: #undef DBUS_HAVE_INT64
williamr@2: #undef DBUS_INT64_CONSTANT
williamr@2: #undef DBUS_UINT64_CONSTANT
williamr@2: #endif
williamr@2: 
williamr@2: typedef int dbus_int32_t;
williamr@2: typedef unsigned int dbus_uint32_t;
williamr@2: 
williamr@2: typedef short dbus_int16_t;
williamr@2: typedef unsigned short dbus_uint16_t;
williamr@2: 
williamr@2: DBUS_END_DECLS
williamr@2: 
williamr@2: #endif /* DBUS_ARCH_DEPS_H */