postgresql/src
Peter Eisentraut 357cfefb09 Use C library functions instead of Abs() for int64
Instead of Abs() for int64, use the C standard functions labs() or
llabs() as appropriate.  Define a small wrapper around them that
matches our definition of int64.  (labs() is C90, llabs() is C99.)

Reviewed-by: Zhang Mingli <zmlpostgres@gmail.com>
Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://www.postgresql.org/message-id/flat/4beb42b5-216b-bce8-d452-d924d5794c63%40enterprisedb.com
2022-10-10 09:01:17 +02:00
..
backend Use C library functions instead of Abs() for int64 2022-10-10 09:01:17 +02:00
bin meson: Add support for building with precompiled headers 2022-10-06 17:19:30 -07:00
common meson: Add support for building with precompiled headers 2022-10-06 17:19:30 -07:00
fe_utils meson: Add support for building with precompiled headers 2022-10-06 17:19:30 -07:00
include Use C library functions instead of Abs() for int64 2022-10-10 09:01:17 +02:00
interfaces Remove unnecessary uses of Abs() 2022-10-07 13:29:33 +02:00
makefiles autoconf: Rely on ar supporting index creation 2022-10-07 11:53:39 -07:00
pl meson: Add support for building with precompiled headers 2022-10-06 17:19:30 -07:00
port meson: Add support for building with precompiled headers 2022-10-06 17:19:30 -07:00
template Move darwin sysroot determination into separate file 2022-09-01 16:54:19 -07:00
test Fix self-referencing foreign keys with partitioned tables 2022-10-07 19:37:48 +02:00
timezone meson: Add windows resource files 2022-10-05 09:56:05 -07:00
tools windows: Adjust FD_SETSIZE via commandline define 2022-10-06 13:09:57 -07:00
tutorial Update copyright for 2022 2022-01-07 19:04:57 -05:00
.gitignore
DEVELOPERS
Makefile Remove the option to build thread_test.c outside configure. 2020-10-21 12:08:48 -04:00
Makefile.global.in autoconf: Rely on ar supporting index creation 2022-10-07 11:53:39 -07:00
Makefile.shlib autoconf: Rely on ar supporting index creation 2022-10-07 11:53:39 -07:00
meson.build meson: Add initial version of meson based build system 2022-09-21 22:37:17 -07:00
nls-global.mk Fix for make unportability 2022-07-13 09:15:01 +02:00