mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-10-24 22:28:29 +00:00
_GNU_SOURCE needed on apple as well?
This commit is contained in:
parent
fe7f3233ba
commit
5550c7a95f
1 changed files with 1 additions and 5 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue