aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Doc/howto/free-threading-extensions.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/howto/free-threading-extensions.rst')
-rw-r--r--Doc/howto/free-threading-extensions.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/Doc/howto/free-threading-extensions.rst b/Doc/howto/free-threading-extensions.rst
index 3f6ee517050..5a3970f15d5 100644
--- a/Doc/howto/free-threading-extensions.rst
+++ b/Doc/howto/free-threading-extensions.rst
@@ -23,6 +23,14 @@ You can use it to enable code that only runs under the free-threaded build::
/* code that only runs in the free-threaded build */
#endif
+.. note::
+
+ On Windows, this macro is not defined automatically, but must be specified
+ to the compiler when building. The :func:`sysconfig.get_config_var` function
+ can be used to determine whether the current running interpreter had the
+ macro defined.
+
+
Module Initialization
=====================