ead5f6
/*
ead5f6
 * Copyright (C) 2013 Red Hat, Inc.  All rights reserved.
ead5f6
 *
ead5f6
 * This program is free software; you can redistribute it and/or
ead5f6
 * modify it under the terms of the GNU General Public License as
ead5f6
 * published by the Free Software Foundation; either version 2 of
ead5f6
 * the License, or (at your option) any later version.
ead5f6
 *
ead5f6
 * This program is distributed in the hope that it will be useful,
ead5f6
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
ead5f6
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
ead5f6
 * GNU General Public License for more details.
ead5f6
 *
ead5f6
 * You should have received a copy of the GNU General Public License
ead5f6
 * along with this program. If not, see <http://www.gnu.org/licenses/>.
ead5f6
 *
ead5f6
 * Authors: Peter Hatina <phatina@redhat.com>
ead5f6
 */
ead5f6
ead5f6
#ifndef __CONFIG_H__
ead5f6
#define __CONFIG_H__
ead5f6
ead5f6
#  include <bits/wordsize.h>
ead5f6
ead5f6
#  if defined(__i386__) || defined(__i486__) || defined(__i586__) || defined(__i686__)
ead5f6
#    include "config-x86.h"
ead5f6
#  elif __WORDSIZE == 32
ead5f6
#    include "config-32.h"
ead5f6
#  elif __WORDSIZE == 64
ead5f6
#    include "config-64.h"
ead5f6
#  else
ead5f6
#    error "Not supported architecture"
ead5f6
#  endif
ead5f6
ead5f6
#endif // __CONFIG_H__