mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
bpo-32493: Correct test for uuid_enc_be availability in configure.ac. (GH-7511) (GH-7567)
This commit is contained in:
parent
ea62ce7f4f
commit
ced0adb263
3 changed files with 4 additions and 6 deletions
|
@ -2716,9 +2716,7 @@ void *x = uuid_create
|
|||
AC_MSG_CHECKING(for uuid_enc_be)
|
||||
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <uuid.h>]], [[
|
||||
#ifndef uuid_enc_be
|
||||
uuid_t uuid;
|
||||
unsigned char buf[sizeof(uuid)];
|
||||
uuid_enc_be(buf, &uuid);
|
||||
void *x = uuid_enc_be
|
||||
#endif
|
||||
]])],
|
||||
[AC_DEFINE(HAVE_UUID_ENC_BE, 1, Define if uuid_enc_be() exists.)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue