Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitddce628

Browse files
committed
Fix configure check for typeof
1 parente0eb5e0 commitddce628

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

‎config/c-compiler.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ if test "$pgac_cv_c_typeof" != no; then
199199
AC_DEFINE(HAVE_TYPEOF,1,
200200
[Define to 1 if your compiler understands `typeof' or something similar.])
201201
if test "$pgac_cv_c_typeof" != typeof; then
202-
AC_DEFINE(typeof,$pgac_cv_c_typeof,[Define to how the compiler spells `typeof'.])
202+
AC_DEFINE_UNQUOTED(typeof,$pgac_cv_c_typeof,[Define to how the compiler spells `typeof'.])
203203
fi
204204
fi])# PGAC_C_TYPEOF
205205

‎configure

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11704,7 +11704,9 @@ $as_echo "#define HAVE_TYPEOF 1" >>confdefs.h
1170411704

1170511705
iftest"$pgac_cv_c_typeof"!= typeof;then
1170611706

11707-
$as_echo"#define typeof\$pgac_cv_c_typeof">>confdefs.h
11707+
cat>>confdefs.h<<_ACEOF
11708+
#define typeof$pgac_cv_c_typeof
11709+
_ACEOF
1170811710

1170911711
fi
1171011712
fi

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp