From: Guido van Rossum Date: Thu, 1 Oct 1998 20:43:23 +0000 (+0000) Subject: Renamed thread.h to pythread.h. X-Git-Tag: v1.5.2a2~188 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e364b7d46ad10ee1d75c2332a7fc13ab181f552b;p=python Renamed thread.h to pythread.h. (Also removed whitespace after # in some BEOS related cpp directives.) --- diff --git a/Python/importdl.c b/Python/importdl.c index b542ff5ad2..c7a4812def 100644 --- a/Python/importdl.c +++ b/Python/importdl.c @@ -178,26 +178,26 @@ static void aix_loaderror(char *); #endif #ifdef __BEOS__ -# undef USE_SHLIB /* probably not defined anyway */ -# define DYNAMIC_LINK -# define SHORT_EXT ".so" -# define LONG_EXT "module.so" +#undef USE_SHLIB /* probably not defined anyway */ +#define DYNAMIC_LINK +#define SHORT_EXT ".so" +#define LONG_EXT "module.so" typedef void (*dl_funcptr)(void); -# define _DL_FUNCPTR_DEFINED +#define _DL_FUNCPTR_DEFINED -# if defined(MAXPATHLEN) && !defined(_SYS_PARAM_H) -# undef MAXPATHLEN -# endif +#if defined(MAXPATHLEN) && !defined(_SYS_PARAM_H) +#undef MAXPATHLEN +#endif -# include -# include -# include -# include +#include +#include +#include +#include -# ifdef WITH_THREAD -# include "thread.h" +#ifdef WITH_THREAD +#include "pythread.h" static type_lock beos_dyn_lock; -# endif +#endif static PyObject *beos_dyn_images = NULL;