diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2006-04-11 07:15:30 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2006-04-11 07:15:30 (GMT) |
commit | 44fe0e4b8d510dfc82903d2a45579e10a1bcb005 (patch) | |
tree | e060195a4f6898f4419821afd4e9edfaf9e35f79 /configure.in | |
parent | 05e89b86d66cbd90b9c43ebe89f42dfcc6f558fe (diff) | |
download | cpython-44fe0e4b8d510dfc82903d2a45579e10a1bcb005.zip cpython-44fe0e4b8d510dfc82903d2a45579e10a1bcb005.tar.gz cpython-44fe0e4b8d510dfc82903d2a45579e10a1bcb005.tar.bz2 |
Correct test whether wchar_t is unsigned. Fixed crash
in #1454485.
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.in b/configure.in index 612d2fa..a043ce5 100644 --- a/configure.in +++ b/configure.in @@ -2792,7 +2792,8 @@ then #include <wchar.h> int main() { - exit((((wchar_t) -1) < ((wchar_t) 0)) ? 1 : 0); + /* Success: exit code 0 */ + exit((((wchar_t) -1) < ((wchar_t) 0)) ? 0 : 1); } ], ac_cv_wchar_t_signed=yes, |