git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: afe58c8) | patch
Rely on __func__ being supported
Sun, 7 Aug 2022 16:36:01 +0000 (09:36 -0700)
Sun, 7 Aug 2022 16:36:01 +0000 (09:36 -0700)
commit 320f92b744b44f961e5d56f5f21de003e8027a7f
Rely on __func__ being supported

Previously we fell back to __FUNCTION__ and then NULL. As __func__ is in C99
that shouldn't be necessary anymore.

Solution.pm defined HAVE_FUNCNAME__FUNCTION instead of
HAVE_FUNCNAME__FUNC (originating in 4164e6636e2), as at some point in the past
MSVC only supported __FUNCTION__. Our minimum version supports __func__.

Reviewed-By: Thomas Munro <thomas.munro@gmail.com>
Discussion: https://postgr.es/m/20220807012914.ydz73yte6j3coulo@awork3.anarazel.de
config/c-compiler.m4 diff | blob | blame | history
configure diff | blob | blame | history
configure.ac diff | blob | blame | history
src/backend/storage/lmgr/s_lock.c diff | blob | blame | history
src/include/c.h diff | blob | blame | history
src/include/pg_config.h.in diff | blob | blame | history
src/include/storage/s_lock.h diff | blob | blame | history
src/include/utils/elog.h diff | blob | blame | history
src/tools/msvc/Solution.pm diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /