[Pyrex] #if

Greg Ewing greg at cosc.canterbury.ac.nz
Mon Oct 20 01:38:36 CEST 2003


Bryan Weingarten <Bryan.Weingarten at watchguard.com>:

> what you suggest won't work for me since the _map_win32 function won't
> link since it doesn't exist on non-windows platforms.
> 
> i think i really need the #if symantecs.

I doubt whether you really need it as much as you think. There
are many other ways you could approach this. For example,
instead of calling _wgpr._builtins._map_win32 directly, you
call an intermediate routine of your own, and link with
different versions of it on different platforms.

Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,	   | A citizen of NewZealandCorp, a	  |
Christchurch, New Zealand	   | wholly-owned subsidiary of USA Inc.  |
greg at cosc.canterbury.ac.nz	   +--------------------------------------+




More information about the Pyrex mailing list