mirror of
https://github.com/postgres/postgres.git
synced 2025-09-03 15:22:11 +03:00
Fix compiling errors on Windows platform. Fix wrong usage of
INT64CONST macro. Fix lo_hton64 and lo_ntoh64 not to use int32_t and uint32_t.
This commit is contained in:
@@ -65,7 +65,7 @@ typedef struct LargeObjectDesc
|
||||
/*
|
||||
* Maximum byte length for each large object
|
||||
*/
|
||||
#define MAX_LARGE_OBJECT_SIZE INT64CONST(INT_MAX * LOBLKSIZE)
|
||||
#define MAX_LARGE_OBJECT_SIZE ((int64)INT_MAX * LOBLKSIZE)
|
||||
|
||||
/*
|
||||
* Function definitions...
|
||||
|
Reference in New Issue
Block a user