mirror of
				https://github.com/kovidgoyal/calibre.git
				synced 2025-10-31 02:27:01 -04:00 
			
		
		
		
	...
This commit is contained in:
		
							parent
							
								
									51193d113b
								
							
						
					
					
						commit
						c81c6c13b6
					
				| @ -493,7 +493,6 @@ speedup_iso_8601(PyObject *self, PyObject *args) { | |||||||
| 
 | 
 | ||||||
| #ifndef _MSC_VER | #ifndef _MSC_VER | ||||||
| #include <pthread.h> | #include <pthread.h> | ||||||
| #endif |  | ||||||
| #if defined(__FreeBSD__) || defined(__OpenBSD__) | #if defined(__FreeBSD__) || defined(__OpenBSD__) | ||||||
| #define FREEBSD_SET_NAME | #define FREEBSD_SET_NAME | ||||||
| #endif | #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
 | // 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); | extern int pthread_setname_np(pthread_t, const char *name); | ||||||
| #endif | #endif | ||||||
|  | #endif | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| static PyObject* | static PyObject* | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user