Commit f9f9d696 authored by Heikki Linnakangas's avatar Heikki Linnakangas

UINT64_MAX isn't defined on MSVC.

parent faa05505
...@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment