mirror of
https://github.com/Genymobile/scrcpy.git
synced 2025-10-04 15:18:42 +00:00
Configure feature test macros in meson
Refs #2807 <https://github.com/Genymobile/scrcpy/pull/2807> Co-authored-by: RipleyTom <RipleyTom@users.noreply.github.com>
This commit is contained in:
parent
226f3b2c91
commit
ba547e3895
3 changed files with 10 additions and 12 deletions
|
@ -1,13 +1,6 @@
|
|||
#ifndef COMPAT_H
|
||||
#define COMPAT_H
|
||||
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#define _XOPEN_SOURCE 700
|
||||
#define _GNU_SOURCE
|
||||
#ifdef __APPLE__
|
||||
# define _DARWIN_C_SOURCE
|
||||
#endif
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include <libavformat/version.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue