]> granicus.if.org Git - python/commitdiff
Renamed thread.h to pythread.h.
authorGuido van Rossum <guido@python.org>
Thu, 1 Oct 1998 20:43:23 +0000 (20:43 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 1 Oct 1998 20:43:23 +0000 (20:43 +0000)
(Also removed whitespace after # in some BEOS related cpp directives.)

Python/importdl.c

index b542ff5ad2b6947fd432e93d24db69b741a904f3..c7a4812def5c62f85684966968f186c90a5c9d4f 100644 (file)
@@ -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;