diff options
author | Tatsuo Ishii <ishii@postgresql.org> | 2012-10-07 23:30:31 +0900 |
---|---|---|
committer | Tatsuo Ishii <ishii@postgresql.org> | 2012-10-07 23:30:31 +0900 |
commit | 7e2f8ed2b0dcff052b8f06069e2d69f02b774f04 (patch) | |
tree | bf48339ee1070456d90a0f9ab7a95ee6e218da26 /src/include/storage/large_object.h | |
parent | b51a65f5bf4b68bc91d33d88108837d13d29df98 (diff) | |
download | postgresql-7e2f8ed2b0dcff052b8f06069e2d69f02b774f04.tar.gz postgresql-7e2f8ed2b0dcff052b8f06069e2d69f02b774f04.zip |
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.
Diffstat (limited to 'src/include/storage/large_object.h')
-rw-r--r-- | src/include/storage/large_object.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/storage/large_object.h b/src/include/storage/large_object.h index 52f01c6e3c3..715f0c3bc49 100644 --- a/src/include/storage/large_object.h +++ b/src/include/storage/large_object.h @@ -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... |