From: Mathieu Desnoyers Date: Mon, 3 Jun 2013 05:09:55 +0000 (-0400) Subject: rcuja: remove unneeded endian.h X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=0f6e7b84b269b6908c064941000d8573905c2114;p=urcu.git rcuja: remove unneeded endian.h Signed-off-by: Mathieu Desnoyers --- diff --git a/rcuja/endian.h b/rcuja/endian.h deleted file mode 100644 index bf25a13..0000000 --- a/rcuja/endian.h +++ /dev/null @@ -1,34 +0,0 @@ -#ifndef _URCU_RCUJA_ENDIAN_H -#define _URCU_RCUJA_ENDIAN_H - -/* - * Copyright 2012 (c) - Mathieu Desnoyers - * - * endian.h compatibility layer. - * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in - * all copies or substantial portions of the Software. - */ - -#ifdef __FreeBSD__ -#include -#else -#include -#endif - -#ifndef FLOAT_WORD_ORDER -#ifdef __FLOAT_WORD_ORDER -#define FLOAT_WORD_ORDER __FLOAT_WORD_ORDER -#else /* __FLOAT_WORD_ORDER */ -#define FLOAT_WORD_ORDER BYTE_ORDER -#endif /* __FLOAT_WORD_ORDER */ -#endif /* FLOAT_WORD_ORDER */ - -#endif /* _URCU_RCUJA_ENDIAN_H */