mirror of https://github.com/python/cpython
gh-108623: Fix compile warning in `Modules/_multiprocessing/semaphore.c` (#108624)
This commit is contained in:
parent
bf08131e0a
commit
30305d6d01
|
@ -1,9 +1,14 @@
|
||||||
#ifndef MULTIPROCESSING_H
|
#ifndef MULTIPROCESSING_H
|
||||||
#define MULTIPROCESSING_H
|
#define MULTIPROCESSING_H
|
||||||
|
|
||||||
|
#ifndef Py_BUILD_CORE_BUILTIN
|
||||||
|
# define Py_BUILD_CORE_MODULE 1
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "Python.h"
|
#include "Python.h"
|
||||||
#include "structmember.h"
|
#include "structmember.h"
|
||||||
#include "pythread.h"
|
#include "pythread.h"
|
||||||
|
#include "pycore_signal.h" // _PyOS_IsMainThread()
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Platform includes and definitions
|
* Platform includes and definitions
|
||||||
|
|
Loading…
Reference in New Issue