mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 01:37:00 +00:00
[8166] Add support for 32-bit hex format in addition to 64-bit version
This commit is contained in:
parent
5b209bced4
commit
f84a68553c
2 changed files with 3 additions and 1 deletions
|
|
@ -125,6 +125,7 @@
|
||||||
|
|
||||||
#include <float.h>
|
#include <float.h>
|
||||||
|
|
||||||
|
#define I32FMT "%08I32X"
|
||||||
#define I64FMT "%016I64X"
|
#define I64FMT "%016I64X"
|
||||||
#define snprintf _snprintf
|
#define snprintf _snprintf
|
||||||
#define atoll __atoi64
|
#define atoll __atoi64
|
||||||
|
|
@ -136,6 +137,7 @@
|
||||||
|
|
||||||
#define stricmp strcasecmp
|
#define stricmp strcasecmp
|
||||||
#define strnicmp strncasecmp
|
#define strnicmp strncasecmp
|
||||||
|
#define I32FMT "%08X"
|
||||||
#define I64FMT "%016llX"
|
#define I64FMT "%016llX"
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "8165"
|
#define REVISION_NR "8166"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue