Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'include/cgen/basic-modes.h')
-rw-r--r--include/cgen/basic-modes.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/cgen/basic-modes.h b/include/cgen/basic-modes.h
index 7583ee458..bd87f3acb 100644
--- a/include/cgen/basic-modes.h
+++ b/include/cgen/basic-modes.h
@@ -46,4 +46,7 @@ typedef uint64_t UDI;
typedef int INT;
typedef unsigned int UINT;
+/* Cover macro to create a 64-bit integer. */
+#define MAKEDI(hi, lo) ((((DI) (SI) (hi)) << 32) | ((UDI) (USI) (lo)))
+
#endif /* CGEN_BASIC_MODES_H */