Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
0e163d2c
Commit
0e163d2c
authored
Nov 09, 2017
by
Berker Peksag
Committed by
GitHub
Nov 09, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bpo-11063: Use more reliable way to check if uuid function exists (GH-4343)
parent
9a10ff4d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
configure
configure
+1
-2
configure.ac
configure.ac
+1
-2
No files found.
configure
View file @
0e163d2c
...
@@ -9522,8 +9522,7 @@ main ()
...
@@ -9522,8 +9522,7 @@ main ()
{
{
#ifndef uuid_generate_time_safe
#ifndef uuid_generate_time_safe
uuid_t out;
void *x = uuid_generate_time_safe
uuid_generate_time_safe(out);
#endif
#endif
;
;
...
...
configure.ac
View file @
0e163d2c
...
@@ -2680,8 +2680,7 @@ AC_CHECK_LIB(dld, shl_load) # Dynamic linking for HP-UX
...
@@ -2680,8 +2680,7 @@ AC_CHECK_LIB(dld, shl_load) # Dynamic linking for HP-UX
AC_MSG_CHECKING(for uuid_generate_time_safe)
AC_MSG_CHECKING(for uuid_generate_time_safe)
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <uuid/uuid.h>]], [[
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <uuid/uuid.h>]], [[
#ifndef uuid_generate_time_safe
#ifndef uuid_generate_time_safe
uuid_t out;
void *x = uuid_generate_time_safe
uuid_generate_time_safe(out);
#endif
#endif
]])],
]])],
[AC_DEFINE(HAVE_UUID_GENERATE_TIME_SAFE, 1, Define if uuid_generate_time_safe() exists.)
[AC_DEFINE(HAVE_UUID_GENERATE_TIME_SAFE, 1, Define if uuid_generate_time_safe() exists.)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment