mirror of
https://github.com/Microsoft/calculator.git
synced 2025-08-22 14:13:30 -07:00
Wrap LODWORD and HIDWORD into if-checks to prevent duplicate inclusions
This commit is contained in:
parent
3916522a78
commit
6f1b7ebe54
1 changed files with 5 additions and 0 deletions
|
@ -2,5 +2,10 @@
|
||||||
|
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
|
|
||||||
|
#ifndef LODWORD
|
||||||
#define LODWORD(qw) ((uint32_t)(qw))
|
#define LODWORD(qw) ((uint32_t)(qw))
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef HIDWORD
|
||||||
#define HIDWORD(qw) ((uint32_t)(((qw) >> 32) & 0xffffffff))
|
#define HIDWORD(qw) ((uint32_t)(((qw) >> 32) & 0xffffffff))
|
||||||
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue