[v9_8] build failure in C99
3478. [port] Fix a build failure in strict C99 environments
[RT #32475]
(cherry picked from commit cd63e94310)
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
3478. [port] Fix a build failure in strict C99 environments
|
||||
[RT #32475]
|
||||
|
||||
3474. [bug] nsupdate could assert when the local and remote
|
||||
address families didn't match. [RT #22897]
|
||||
|
||||
|
||||
+3
-5
@@ -323,17 +323,15 @@ AC_CHECK_FUNCS(setegid setresgid)
|
||||
# is reported to not support "static inline" (RT #1212).
|
||||
#
|
||||
AC_MSG_CHECKING(for static inline breakage)
|
||||
AC_TRY_COMPILE(, [
|
||||
foo1();
|
||||
}
|
||||
|
||||
AC_TRY_COMPILE([
|
||||
static inline int foo1() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
static inline int foo2() {
|
||||
return foo1();
|
||||
],
|
||||
}
|
||||
], [foo1();],
|
||||
[AC_MSG_RESULT(no)],
|
||||
[AC_MSG_RESULT(yes)
|
||||
AC_DEFINE(inline, ,[Define to empty if your compiler does not support "static inline".])])
|
||||
|
||||
Reference in New Issue
Block a user