Update phnt_windows.h

This commit is contained in:
dmex
2024-09-06 19:55:38 +10:00
parent 591159ab16
commit 04680f09d0
+11
View File
@@ -39,6 +39,17 @@
#endif
#endif
#ifndef MAXLONGLONG
// The Windows SDK basetsd.h is missing the MAXLONGLONG definition. (dmex)
#define MAXLONGLONG (0x7fffffffffffffff)
#endif
#ifndef MINLONGLONG
// The Windows SDK basetsd.h references non-existant MAXLONGLONG definition
// and breaks MINLONGLONG or in other cases results in a definition of zero. (dmex)
#define MINLONGLONG ((LONGLONG)~MAXLONGLONG)
#endif
#ifndef ENABLE_RTL_NUMBER_OF_V2
#define ENABLE_RTL_NUMBER_OF_V2
#endif