|
Packit |
352660 |
/*
|
|
Packit |
352660 |
* Copyright © 2002 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 |
#include "fcint.h"
|
|
Packit |
352660 |
#include "fcarch.h"
|
|
Packit |
352660 |
#include <stdio.h>
|
|
Packit |
352660 |
|
|
Packit |
352660 |
FC_ASSERT_STATIC (1 == sizeof (char));
|
|
Packit |
352660 |
FC_ASSERT_STATIC (2 == sizeof (FcChar16));
|
|
Packit |
352660 |
FC_ASSERT_STATIC (4 == sizeof (int));
|
|
Packit |
352660 |
FC_ASSERT_STATIC (4 == sizeof (FcChar32));
|
|
Packit |
352660 |
FC_ASSERT_STATIC (4 == sizeof (FcObject));
|
|
Packit |
352660 |
FC_ASSERT_STATIC (4 == sizeof (FcValueBinding));
|
|
Packit |
352660 |
FC_ASSERT_STATIC (8 == sizeof (FcAlign));
|
|
Packit |
352660 |
FC_ASSERT_STATIC (0x20 == sizeof (FcCharLeaf));
|
|
Packit |
352660 |
|
|
Packit |
352660 |
FC_ASSERT_STATIC (SIZEOF_VOID_P == sizeof (intptr_t));
|
|
Packit |
352660 |
FC_ASSERT_STATIC (SIZEOF_VOID_P == sizeof (FcPatternEltPtr));
|
|
Packit |
352660 |
FC_ASSERT_STATIC (SIZEOF_VOID_P == sizeof (FcValueListPtr));
|
|
Packit |
352660 |
FC_ASSERT_STATIC (SIZEOF_VOID_P == sizeof (char *));
|
|
Packit |
352660 |
FC_ASSERT_STATIC (SIZEOF_VOID_P == sizeof (struct FcPatternElt *));
|
|
Packit |
352660 |
FC_ASSERT_STATIC (SIZEOF_VOID_P == sizeof (FcValueList *));
|
|
Packit |
352660 |
FC_ASSERT_STATIC (SIZEOF_VOID_P == sizeof (FcStrSet *));
|
|
Packit |
352660 |
FC_ASSERT_STATIC (SIZEOF_VOID_P == sizeof (FcCharLeaf **));
|
|
Packit |
352660 |
FC_ASSERT_STATIC (SIZEOF_VOID_P == sizeof (FcChar16 *));
|
|
Packit |
352660 |
|
|
Packit |
352660 |
FC_ASSERT_STATIC (0x08 + 1*FC_MAX(SIZEOF_VOID_P,ALIGNOF_DOUBLE) == sizeof (FcValue));
|
|
Packit |
352660 |
FC_ASSERT_STATIC (0x00 + 2*SIZEOF_VOID_P == sizeof (FcPatternElt));
|
|
Packit |
352660 |
FC_ASSERT_STATIC (0x08 + 2*SIZEOF_VOID_P == sizeof (FcPattern));
|
|
Packit |
352660 |
FC_ASSERT_STATIC (0x08 + 2*SIZEOF_VOID_P == sizeof (FcCharSet));
|
|
Packit |
352660 |
FC_ASSERT_STATIC (0x10 + 6*SIZEOF_VOID_P == sizeof (FcCache));
|
|
Packit |
352660 |
|
|
Packit |
352660 |
|
|
Packit |
352660 |
int
|
|
Packit |
352660 |
main (int argc FC_UNUSED, char **argv FC_UNUSED)
|
|
Packit |
352660 |
{
|
|
Packit |
352660 |
printf ("%s\n", FC_ARCHITECTURE);
|
|
Packit |
352660 |
return 0;
|
|
Packit |
352660 |
}
|