ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libecb/ecb.h
(Generate patch)

Comparing libecb/ecb.h (file contents):
Revision 1.129 by root, Thu Mar 20 22:04:29 2014 UTC vs.
Revision 1.134 by root, Mon Jun 9 17:31:57 2014 UTC

23 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 23 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
24 * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 24 * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
25 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTH- 25 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTH-
26 * ERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 26 * ERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
27 * OF THE POSSIBILITY OF SUCH DAMAGE. 27 * OF THE POSSIBILITY OF SUCH DAMAGE.
28 *
29 * Alternatively, the contents of this file may be used under the terms of
30 * the GNU General Public License ("GPL") version 2 or any later version,
31 * in which case the provisions of the GPL are applicable instead of
32 * the above. If you wish to allow the use of your version of this file
33 * only under the terms of the GPL and not to allow others to use your
34 * version of this file under the BSD license, indicate your decision
35 * by deleting the provisions above and replace them with the notice
36 * and other provisions required by the GPL. If you do not delete the
37 * provisions above, a recipient may use your version of this file under
38 * either the BSD or the GPL.
28 */ 39 */
29 40
30#ifndef ECB_H 41#ifndef ECB_H
31#define ECB_H 42#define ECB_H
32 43
311 #define ecb_decltype(x) __decltype(x) 322 #define ecb_decltype(x) __decltype(x)
312#elif ECB_GCC_VERSION(3,0) 323#elif ECB_GCC_VERSION(3,0)
313 #define ecb_decltype(x) __typeof(x) 324 #define ecb_decltype(x) __typeof(x)
314#endif 325#endif
315 326
327#define ecb_deprecated ecb_attribute ((__deprecated__))
316#define ecb_noinline ecb_attribute ((__noinline__)) 328#define ecb_noinline ecb_attribute ((__noinline__))
317#define ecb_unused ecb_attribute ((__unused__)) 329#define ecb_unused ecb_attribute ((__unused__))
318#define ecb_const ecb_attribute ((__const__)) 330#define ecb_const ecb_attribute ((__const__))
319#define ecb_pure ecb_attribute ((__pure__)) 331#define ecb_pure ecb_attribute ((__pure__))
320 332
594/* the only noteworthy exception is ancient armle, which uses order 43218765 */ 606/* the only noteworthy exception is ancient armle, which uses order 43218765 */
595#if 0 \ 607#if 0 \
596 || __i386 || __i386__ \ 608 || __i386 || __i386__ \
597 || __amd64 || __amd64__ || __x86_64 || __x86_64__ \ 609 || __amd64 || __amd64__ || __x86_64 || __x86_64__ \
598 || __powerpc__ || __ppc__ || __powerpc64__ || __ppc64__ \ 610 || __powerpc__ || __ppc__ || __powerpc64__ || __ppc64__ \
599 || defined __arm__ && defined __ARM_EABI__ \
600 || defined __s390__ || defined __s390x__ \ 611 || defined __s390__ || defined __s390x__ \
601 || defined __mips__ \ 612 || defined __mips__ \
602 || defined __alpha__ \ 613 || defined __alpha__ \
603 || defined __hppa__ \ 614 || defined __hppa__ \
604 || defined __ia64__ \ 615 || defined __ia64__ \
605 || defined __m68k__ \ 616 || defined __m68k__ \
606 || defined __m88k__ \ 617 || defined __m88k__ \
607 || defined __sh__ \ 618 || defined __sh__ \
608 || defined _M_IX86 || defined _M_AMD64 || defined _M_IA64 619 || defined _M_IX86 || defined _M_AMD64 || defined _M_IA64 \
620 || (defined __arm__ && (defined __ARM_EABI__ || defined __EABI__ || defined __VFP_FP__ || defined _WIN32_WCE || defined __ANDROID__)) \
621 || defined __aarch64__
609 #define ECB_STDFP 1 622 #define ECB_STDFP 1
610 #include <string.h> /* for memcpy */ 623 #include <string.h> /* for memcpy */
611#else 624#else
612 #define ECB_STDFP 0 625 #define ECB_STDFP 0
613#endif 626#endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines