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

Comparing libecb/ecb.h (file contents):
Revision 1.178 by root, Mon Jun 24 22:22:59 2019 UTC vs.
Revision 1.179 by root, Sat Dec 28 08:01:05 2019 UTC

40 40
41#ifndef ECB_H 41#ifndef ECB_H
42#define ECB_H 42#define ECB_H
43 43
44/* 16 bits major, 16 bits minor */ 44/* 16 bits major, 16 bits minor */
45#define ECB_VERSION 0x00010006 45#define ECB_VERSION 0x00010007
46 46
47#ifdef _WIN32 47#ifdef _WIN32
48 typedef signed char int8_t; 48 typedef signed char int8_t;
49 typedef unsigned char uint8_t; 49 typedef unsigned char uint8_t;
50 typedef signed short int16_t; 50 typedef signed short int16_t;
76 #endif 76 #endif
77#endif 77#endif
78 78
79#define ECB_GCC_AMD64 (__amd64 || __amd64__ || __x86_64 || __x86_64__) 79#define ECB_GCC_AMD64 (__amd64 || __amd64__ || __x86_64 || __x86_64__)
80#define ECB_MSVC_AMD64 (_M_AMD64 || _M_X64) 80#define ECB_MSVC_AMD64 (_M_AMD64 || _M_X64)
81
82#ifndef ECB_OPTIMIZE_SIZE
83 #if __OPTIMIZE_SIZE__
84 #define ECB_OPTIMIZE_SIZE 1
85 #else
86 #define ECB_OPTIMIZE_SIZE 0
87 #endif
88#endif
81 89
82/* work around x32 idiocy by defining proper macros */ 90/* work around x32 idiocy by defining proper macros */
83#if ECB_GCC_AMD64 || ECB_MSVC_AMD64 91#if ECB_GCC_AMD64 || ECB_MSVC_AMD64
84 #if _ILP32 92 #if _ILP32
85 #define ECB_AMD64_X32 1 93 #define ECB_AMD64_X32 1

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines