summaryrefslogtreecommitdiff
path: root/config/c-compiler.m4
diff options
context:
space:
mode:
authorAlvaro Herrera2012-10-09 14:10:10 +0000
committerAlvaro Herrera2012-10-09 14:17:33 +0000
commitf46baf601d889b374ba5e5f4b8280fee5aa19a7f (patch)
tree2e41a243a5ae858ebea6d7cc50e67e6aa82a966d /config/c-compiler.m4
parent0b77aebabfbe9155ea88ee9e11fa126315473b86 (diff)
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.
Diffstat (limited to 'config/c-compiler.m4')
-rw-r--r--config/c-compiler.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/config/c-compiler.m4 b/config/c-compiler.m4
index 069b468daac..7cbb8ec3249 100644
--- a/config/c-compiler.m4
+++ b/config/c-compiler.m4
@@ -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