yes, it should be like this.
thank you
Bookaa

From: Amaury Forgeot d'Arc 
Sent: Wednesday, May 23, 2012 9:26 PM
To: bookaa 
Cc: [email protected] 
Subject: Re: [pypy-dev] bug with MinGW32


2012/5/23 bookaa <[email protected]>

  if platform.platform.cc.startswith('mingw32'):

This is better written as: 
    from pypy.translator.platform import platform

    if platform.name == 'minwg32'
See rlib/libffi.py for an example.



-- 
Amaury Forgeot d'Arc
_______________________________________________
pypy-dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-dev

Reply via email to