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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user