Changeset 339 for pyyaml/trunk/ext

Show
Ignore:
Timestamp:
12/30/08 14:55:02 (3 years ago)
Author:
xi
Message:

Added a MS VC 6.0 compatibility hack against Cython-generated C sources.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pyyaml/trunk/ext/_yaml.h

    r335 r339  
    1414 
    1515#endif 
     16 
     17#ifdef _MSC_VER /* MS Visual C++ 6.0 */ 
     18#if _MSC_VER == 1200 
     19 
     20#define PyLong_FromUnsignedLongLong(z)  PyInt_FromLong(i) 
     21 
     22#endif 
     23#endif