summaryrefslogtreecommitdiff
path: root/Python/importdl.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-10-01 20:43:23 +0000
committerGuido van Rossum <guido@python.org>1998-10-01 20:43:23 +0000
commite364b7d46ad10ee1d75c2332a7fc13ab181f552b (patch)
treeefbccbab1614409a8e3d833323355cf884401349 /Python/importdl.c
parent09b295754fab731e95ef5b2f1976d1d991ebf06a (diff)
downloadcpython-git-e364b7d46ad10ee1d75c2332a7fc13ab181f552b.tar.gz
Renamed thread.h to pythread.h.
(Also removed whitespace after # in some BEOS related cpp directives.)
Diffstat (limited to 'Python/importdl.c')
-rw-r--r--Python/importdl.c30
1 files changed, 15 insertions, 15 deletions
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 <kernel/image.h>
-# include <kernel/OS.h>
-# include <stdlib.h>
-# include <unistd.h>
+#include <kernel/image.h>
+#include <kernel/OS.h>
+#include <stdlib.h>
+#include <unistd.h>
-# 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;