summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2016-10-22 14:32:36 +0200
committer Miodrag Milanovic <mmicko@gmail.com>2016-10-22 14:32:36 +0200
commit346a42383e267d087900bff7df72609c20f9ff5f (patch)
tree6865f6758920b40680d041577f6a7acdf15b4d2f /src/osd
parentab9fd24fbb42c9beec763407c5a6d89b3c3f072e (diff)
fixed benchmarks build and cleanup U64 and S64 macro definition, it is now in standard (nw)
Diffstat (limited to 'src/osd')
-rw-r--r--src/osd/osdcomm.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/osd/osdcomm.h b/src/osd/osdcomm.h
index 8e6ee317400..e519b597d96 100644
--- a/src/osd/osdcomm.h
+++ b/src/osd/osdcomm.h
@@ -89,21 +89,13 @@ using std::int64_t;
#define FALSE 0
#endif
-
-
/***************************************************************************
FUNDAMENTAL MACROS
***************************************************************************/
/* U64 and S64 are used to wrap long integer constants. */
-#if defined(__GNUC__) || defined(_MSC_VER)
#define U64(val) val##ULL
#define S64(val) val##LL
-#else
-#define U64(val) val
-#define S64(val) val
-#endif
-
/* Concatenate/extract 32-bit halves of 64-bit values */
constexpr uint64_t concat_64(uint32_t hi, uint32_t lo) { return (uint64_t(hi) << 32) | uint32_t(lo); }