mirror of https://github.com/python/cpython
Renamed thread.h to pythread.h.
(Also removed whitespace after # in some BEOS related cpp directives.)
This commit is contained in:
parent
09b295754f
commit
e364b7d46a
|
@ -178,26 +178,26 @@ static void aix_loaderror(char *);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __BEOS__
|
#ifdef __BEOS__
|
||||||
# undef USE_SHLIB /* probably not defined anyway */
|
#undef USE_SHLIB /* probably not defined anyway */
|
||||||
# define DYNAMIC_LINK
|
#define DYNAMIC_LINK
|
||||||
# define SHORT_EXT ".so"
|
#define SHORT_EXT ".so"
|
||||||
# define LONG_EXT "module.so"
|
#define LONG_EXT "module.so"
|
||||||
typedef void (*dl_funcptr)(void);
|
typedef void (*dl_funcptr)(void);
|
||||||
# define _DL_FUNCPTR_DEFINED
|
#define _DL_FUNCPTR_DEFINED
|
||||||
|
|
||||||
# if defined(MAXPATHLEN) && !defined(_SYS_PARAM_H)
|
#if defined(MAXPATHLEN) && !defined(_SYS_PARAM_H)
|
||||||
# undef MAXPATHLEN
|
#undef MAXPATHLEN
|
||||||
# endif
|
#endif
|
||||||
|
|
||||||
# include <kernel/image.h>
|
#include <kernel/image.h>
|
||||||
# include <kernel/OS.h>
|
#include <kernel/OS.h>
|
||||||
# include <stdlib.h>
|
#include <stdlib.h>
|
||||||
# include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
# ifdef WITH_THREAD
|
#ifdef WITH_THREAD
|
||||||
# include "thread.h"
|
#include "pythread.h"
|
||||||
static type_lock beos_dyn_lock;
|
static type_lock beos_dyn_lock;
|
||||||
# endif
|
#endif
|
||||||
|
|
||||||
static PyObject *beos_dyn_images = NULL;
|
static PyObject *beos_dyn_images = NULL;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue