Skip to content
Snippets Groups Projects
Commit f9f9d696 authored by Heikki Linnakangas's avatar Heikki Linnakangas
Browse files

UINT64_MAX isn't defined on MSVC.

parent faa05505
Branches
Tags
No related merge requests found
...@@ -33,7 +33,7 @@ typedef uint64 SerCommitSeqNo; ...@@ -33,7 +33,7 @@ typedef uint64 SerCommitSeqNo;
* at that point. It's earlier than all normal sequence numbers, * at that point. It's earlier than all normal sequence numbers,
* and is only used by recovered prepared transactions * and is only used by recovered prepared transactions
*/ */
#define InvalidSerCommitSeqNo UINT64_MAX #define InvalidSerCommitSeqNo ((SerCommitSeqNo) UINT64CONST(0xFFFFFFFFFFFFFFFF))
#define RecoverySerCommitSeqNo ((SerCommitSeqNo) 1) #define RecoverySerCommitSeqNo ((SerCommitSeqNo) 1)
#define FirstNormalSerCommitSeqNo ((SerCommitSeqNo) 2) #define FirstNormalSerCommitSeqNo ((SerCommitSeqNo) 2)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment