[pango/matthiasc/for-main: 53/54] utils: Drop flockfile check
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango/matthiasc/for-main: 53/54] utils: Drop flockfile check
- Date: Mon, 17 Oct 2022 03:09:51 +0000 (UTC)
commit fb6c24a7c0f2891a27d15c1da37e275475560ab6
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Oct 16 23:08:28 2022 -0400
utils: Drop flockfile check
In practice, only Windows doesn't have these,
so simplify our meson.build file by dropping
the check for flockfile.
pango/pango-utils.c | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
---
diff --git a/pango/pango-utils.c b/pango/pango-utils.c
index ce2942304..7c85b0aa4 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]