[3.11] gh-96017: Fix some compiler warnings (GH-96018) (#96106)
- only define recreate_gil with ifdef HAVE_FORK. (cherry picked from commit d9c1b746b5013f81d1724757bb3c6a1c87c4a8dc) Co-authored-by: Christian Heimes <christian@python.org>
C
Christian Heimes committed
eecbeec083ca55ea22e544edba431c9b9023f692
Parent: 19ec4d4
Committed by GitHub <noreply@github.com>
on 10/5/2022, 10:05:27 PM