forked from Imagelibrary/binutils-gdb
sim: igen: migrate to standard uintXX_t types
Move off the custom local 64-bit types and to the standard uintXX_t types that C11 provides.
This commit is contained in:
@@ -30,29 +30,11 @@ enum
|
||||
};
|
||||
|
||||
|
||||
/* Define a 64bit data type */
|
||||
|
||||
#if defined __GNUC__ || defined _WIN32
|
||||
#ifdef __GNUC__
|
||||
|
||||
typedef long long signed64;
|
||||
typedef unsigned long long unsigned64;
|
||||
|
||||
#else /* _WIN32 */
|
||||
|
||||
typedef __int64 signed64;
|
||||
typedef unsigned __int64 unsigned64;
|
||||
|
||||
#endif /* _WIN32 */
|
||||
#else /* Not GNUC or WIN32 */
|
||||
/* Not supported */
|
||||
#endif
|
||||
|
||||
|
||||
#include <stdio.h>
|
||||
#include <ctype.h>
|
||||
#include <string.h>
|
||||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#if !defined (__attribute__) && (!defined(__GNUC__) || __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 7))
|
||||
#define __attribute__(arg)
|
||||
|
||||
Reference in New Issue
Block a user