From 484f1d7adc01476613496176e87f6b4d41b4f0ea Mon Sep 17 00:00:00 2001
From: Dudemanguy <random342@airmail.cc>
Date: Sun, 14 Aug 2022 12:44:51 -0500
Subject: [PATCH] meson: add comment clarifying windows-internal-pthreads

---
 meson.build | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/meson.build b/meson.build
index 3d7b85a0ee..682d7cf88e 100644
--- a/meson.build
+++ b/meson.build
@@ -364,6 +364,11 @@ if get_option('tests')
                      'test/tests.c')
 endif
 
+# Note: this include is only used for windows pthreads and
+# must be accompanied immediately by the following flags.
+# This currently works because these are the last flags set
+# in the build for windows. Adding any new flags after this
+# will probably break something.
 includedir = []
 win32_pthreads = get_option('win32-internal-pthreads').require(
     win32 and not posix,