mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-21 03:15:27 +01:00
...
This commit is contained in:
parent
51193d113b
commit
c81c6c13b6
1 changed files with 1 additions and 1 deletions
|
|
@ -493,7 +493,6 @@ speedup_iso_8601(PyObject *self, PyObject *args) {
|
|||
|
||||
#ifndef _MSC_VER
|
||||
#include <pthread.h>
|
||||
#endif
|
||||
#if defined(__FreeBSD__) || defined(__OpenBSD__)
|
||||
#define FREEBSD_SET_NAME
|
||||
#endif
|
||||
|
|
@ -507,6 +506,7 @@ void pthread_set_name_np(pthread_t tid, const char *name);
|
|||
// Need _GNU_SOURCE for pthread_setname_np on linux and that causes other issues on systems with old glibc
|
||||
extern int pthread_setname_np(pthread_t, const char *name);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
static PyObject*
|
||||
|
|
|
|||
Loading…
Reference in a new issue