mirror of
https://github.com/intel/isa-l.git
synced 2024-12-14 10:06:57 +01:00
types.h: remove [U]INT{8,16,32,64} typedefs
These can be replaced with the <stdint.h> types. Additionally, the existing definitions weren't correct on some platforms (e.g. IA-32, where 'long', used for INT64/UINT64, is only 32 bits). Change-Id: I1d9235c693ca2dc0c51d085128cecc4effc165fd Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
This commit is contained in:
parent
d9ec2c4c8a
commit
99b45db17e
@ -45,17 +45,6 @@ extern "C" {
|
||||
#ifdef __MINGW32__
|
||||
# include <_mingw.h>
|
||||
#endif
|
||||
typedef unsigned __int64 UINT64;
|
||||
typedef __int64 INT64;
|
||||
typedef unsigned __int32 UINT32;
|
||||
typedef unsigned __int16 UINT16;
|
||||
typedef unsigned char UINT8;
|
||||
#else
|
||||
typedef unsigned long int UINT64;
|
||||
typedef long int INT64;
|
||||
typedef unsigned int UINT32;
|
||||
typedef unsigned short int UINT16;
|
||||
typedef unsigned char UINT8;
|
||||
#endif
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user