mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
remove configure check for 'volatile' (#3281)
This is a required feature is C99, which we require.
This commit is contained in:
parent
1c1f8f30c0
commit
fc96f1e95e
3 changed files with 3 additions and 37 deletions
|
@ -4080,14 +4080,6 @@ fi
|
|||
AC_C_CHAR_UNSIGNED
|
||||
AC_C_CONST
|
||||
|
||||
works=no
|
||||
AC_MSG_CHECKING(for working volatile)
|
||||
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[volatile int x; x = 0;]])],
|
||||
[works=yes],
|
||||
[AC_DEFINE(volatile, , [Define to empty if the keyword does not work.])]
|
||||
)
|
||||
AC_MSG_RESULT($works)
|
||||
|
||||
works=no
|
||||
AC_MSG_CHECKING(for working signed char)
|
||||
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[signed char c;]])],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue