Blame config-fixups.h

Packit 352660
/*
Packit 352660
 * Copyright 息 2006 Keith Packard
Packit 352660
 * Copyright 息 2010 Behdad Esfahbod
Packit 352660
 *
Packit 352660
 * Permission to use, copy, modify, distribute, and sell this software and its
Packit 352660
 * documentation for any purpose is hereby granted without fee, provided that
Packit 352660
 * the above copyright notice appear in all copies and that both that
Packit 352660
 * copyright notice and this permission notice appear in supporting
Packit 352660
 * documentation, and that the name of the author(s) not be used in
Packit 352660
 * advertising or publicity pertaining to distribution of the software without
Packit 352660
 * specific, written prior permission.  The authors make no
Packit 352660
 * representations about the suitability of this software for any purpose.  It
Packit 352660
 * is provided "as is" without express or implied warranty.
Packit 352660
 *
Packit 352660
 * THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
Packit 352660
 * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
Packit 352660
 * EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
Packit 352660
 * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
Packit 352660
 * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
Packit 352660
 * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
Packit 352660
 * PERFORMANCE OF THIS SOFTWARE.
Packit 352660
 */
Packit 352660
Packit 352660
/* This header file is supposed to be included in config.h */
Packit 352660
Packit 352660
/* just a hack to build the fat binaries:
Packit 352660
 * https://bugs.freedesktop.org/show_bug.cgi?id=20208
Packit 352660
 */
Packit 352660
#ifdef __APPLE__
Packit 352660
# include <machine/endian.h>
Packit 352660
# undef SIZEOF_VOID_P
Packit 352660
# undef ALIGNOF_DOUBLE
Packit 352660
# ifdef __LP64__
Packit 352660
#  define SIZEOF_VOID_P 8
Packit 352660
#  define ALIGNOF_DOUBLE 8
Packit 352660
# else
Packit 352660
#  define SIZEOF_VOID_P 4
Packit 352660
#  define ALIGNOF_DOUBLE 4
Packit 352660
# endif
Packit 352660
#endif