Changeset 339


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

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

Location:
pyyaml/trunk
Files:
2 edited

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 
  • pyyaml/trunk/setup.cfg

    r335 r339  
    2929 
    3030# The following options are used to build PyYAML Windows installer 
    31 # for Python 2.6 on my PC: 
     31# for Python 2.6 and Python 3.0 on my PC: 
    3232#include_dirs=../../../libyaml/tags/0.1.2/include 
    3333#library_dirs=../../../libyaml/tags/0.1.2/win32/vs2008/output/release/lib 
    3434#define=YAML_DECLARE_STATIC 
    35  
    36 # The following options are used to build PyYAML Windows installer 
    37 # for Python 3.0 on my PC: 
    38 #include_dirs=../../../libyaml/tags/0.1.2/include 
    39 #library_dirs=../../../libyaml/tags/0.1.2/win32/vs2008/output/release/lib 
    40 #define=YAML_DECLARE_STATIC 
Note: See TracChangeset for help on using the changeset viewer.