[MERGE] Fast _walkdirs for win32
John Arbash Meinel
john at arbash-meinel.com
Thu Jul 17 16:24:01 BST 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Alexander Belchenko wrote:
| Adrian Wilkins пишет:
|> :
|> [...]
|>>> 2) But anyway it failed because linker cannot find Win32 API functions:
|>>>
|>
|> That's odd, it builds fine here.
|
| Then something wrong with my computer.
|
|> Which environment are you using?
|
| IIUC it's called Microsoft Visual Studio .NET 2003.
|
|> I'm on MS Visual C++ Toolkit 2003, and I'm using it's headers and
|> libraries.
|> This corresponds to the environment used to build Python 2.5.
|>
|> AFAIK jam is using MinGW.
Looking at the generated code, I'm pretty sure it is your Pyrex version.
Your version spits out:
#ifndef WIN32
#define __stdcall
#endif
Which universally overwrites it.
Here I'm seeing
#ifndef WIN32
# ifndef __stdcall
# define __stdcall
# endif
#endif
Which won't override them if they are already set.
I'm including a copy of my .c file
John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkh/ZBEACgkQJdeBCYSNAAMEVQCglwMLnAva4TYv9o2DTc2+dawZ
b8AAn238IcwLKbfJ3NJd5Qg4pNiV20xH
=PDfb
-----END PGP SIGNATURE-----
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: _walkdirs_win32.c
Url: https://lists.ubuntu.com/archives/bazaar/attachments/20080717/5c88c1d5/attachment-0001.diff
More information about the bazaar
mailing list