From a7de4be0d5d01425755a1bb33dd81c811b52c579 Mon Sep 17 00:00:00 2001 From: kpfleming Date: Fri, 3 Mar 2006 18:14:35 +0000 Subject: remove improperly created directory git-svn-id: http://svn.digium.com/svn/asterisk/tags/1.2.5@11748 f38db490-d61c-443f-a65b-d21fe96a405b --- 1.2-netsec/include/asterisk/endian.h | 65 ------------------------------------ 1 file changed, 65 deletions(-) delete mode 100644 1.2-netsec/include/asterisk/endian.h (limited to '1.2-netsec/include/asterisk/endian.h') diff --git a/1.2-netsec/include/asterisk/endian.h b/1.2-netsec/include/asterisk/endian.h deleted file mode 100644 index 55108b4e1..000000000 --- a/1.2-netsec/include/asterisk/endian.h +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Asterisk -- An open source telephony toolkit. - * - * Copyright (C) 1999 - 2005, Digium, Inc. - * - * Mark Spencer - * - * See http://www.asterisk.org for more information about - * the Asterisk project. Please do not directly contact - * any of the maintainers of this project for assistance; - * the project provides a web site, mailing lists and IRC - * channels for your use. - * - * This program is free software, distributed under the terms of - * the GNU General Public License Version 2. See the LICENSE file - * at the top of the source tree. - */ - -/*! \file - * \brief Asterisk architecture endianess compatibility definitions - */ - -#ifndef _ASTERISK_ENDIAN_H -#define _ASTERISK_ENDIAN_H - -/* - * Autodetect system endianess - */ - -#include "asterisk/compat.h" - -#ifndef __BYTE_ORDER -#ifdef __linux__ -#include -#elif defined(__OpenBSD__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__APPLE__) -#if defined(__OpenBSD__) -#include -#endif /* __OpenBSD__ */ -#include -#define __BYTE_ORDER BYTE_ORDER -#define __LITTLE_ENDIAN LITTLE_ENDIAN -#define __BIG_ENDIAN BIG_ENDIAN -#else -#ifdef __LITTLE_ENDIAN__ -#define __BYTE_ORDER __LITTLE_ENDIAN -#endif /* __LITTLE_ENDIAN */ - -#if defined(i386) || defined(__i386__) -#define __BYTE_ORDER __LITTLE_ENDIAN -#endif /* defined i386 */ - -#if defined(sun) && defined(unix) && defined(sparc) -#define __BYTE_ORDER __BIG_ENDIAN -#endif /* sun unix sparc */ - -#endif /* linux */ - -#endif /* __BYTE_ORDER */ - -#ifndef __BYTE_ORDER -#error Need to know endianess -#endif /* __BYTE_ORDER */ - -#endif /* _ASTERISK_ENDIAN_H */ - -- cgit v1.2.3