mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-13 03:59:23 +02:00
_GNU_SOURCE needed on apple as well?
This commit is contained in:
@@ -5,14 +5,10 @@
|
||||
* Distributed under terms of the GPL3 license.
|
||||
*/
|
||||
|
||||
#ifndef __APPLE__
|
||||
// Need _GNU_SOURCE for pthread_setname_np on linux
|
||||
// Need _GNU_SOURCE for pthread_setname_np
|
||||
#define _GNU_SOURCE
|
||||
#endif
|
||||
#include <pthread.h>
|
||||
#ifndef __APPLE__
|
||||
#undef _GNU_SOURCE
|
||||
#endif
|
||||
#include "data-types.h"
|
||||
#include <termios.h>
|
||||
#include <unistd.h>
|
||||
|
||||
Reference in New Issue
Block a user