mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +03:00
Rename USE_INLINE to PG_USE_INLINE
The former name was too likely to conflict with symbols from external headers; and, as seen in recent buildfarm failures in member spoonbill, it has now happened at least in plpython.
This commit is contained in:
@ -20,7 +20,7 @@ fi])# PGAC_C_SIGNED
|
||||
# PGAC_C_INLINE
|
||||
# -------------
|
||||
# Check if the C compiler understands inline functions.
|
||||
# Defines: inline, USE_INLINE
|
||||
# Defines: inline, PG_USE_INLINE
|
||||
AC_DEFUN([PGAC_C_INLINE],
|
||||
[AC_C_INLINE
|
||||
AC_CACHE_CHECK([for quiet inline (no complaint if unreferenced)], pgac_cv_c_inline_quietly,
|
||||
@ -33,7 +33,7 @@ AC_CACHE_CHECK([for quiet inline (no complaint if unreferenced)], pgac_cv_c_inli
|
||||
ac_c_werror_flag=$pgac_c_inline_save_werror
|
||||
fi])
|
||||
if test "$pgac_cv_c_inline_quietly" != no; then
|
||||
AC_DEFINE_UNQUOTED([USE_INLINE], 1,
|
||||
AC_DEFINE_UNQUOTED([PG_USE_INLINE], 1,
|
||||
[Define to 1 if "static inline" works without unwanted warnings from ]
|
||||
[compilations where static inline functions are defined but not called.])
|
||||
fi
|
||||
|
Reference in New Issue
Block a user