diff options
author | Matthias Clasen <mclasen@redhat.com> | 2022-10-16 23:08:28 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2022-10-16 23:09:06 -0400 |
commit | fb6c24a7c0f2891a27d15c1da37e275475560ab6 (patch) | |
tree | 82e60b42d2dc198324c95ce9a932072e33689026 /pango/pango-utils.c | |
parent | ab635cb660a30603b9e7e64ab5c89e8aee05b8dd (diff) | |
download | pango-fb6c24a7c0f2891a27d15c1da37e275475560ab6.tar.gz |
utils: Drop flockfile check
In practice, only Windows doesn't have these,
so simplify our meson.build file by dropping
the check for flockfile.
Diffstat (limited to 'pango/pango-utils.c')
-rw-r--r-- | pango/pango-utils.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/pango/pango-utils.c b/pango/pango-utils.c index ce294230..7c85b0aa 100644 --- a/pango/pango-utils.c +++ b/pango/pango-utils.c @@ -34,14 +34,12 @@ #include <glib/gstdio.h> -#ifndef HAVE_FLOCKFILE -# define flockfile(f) (void)1 -# define funlockfile(f) (void)1 -# define getc_unlocked(f) getc(f) -#endif /* !HAVE_FLOCKFILE */ - #ifdef G_OS_WIN32 +#define flockfile(f) (void)1 +#define funlockfile(f) (void)1 +#define getc_unlocked(f) getc(f) + #include <sys/types.h> #define STRICT |