Changeset 340


Ignore:
Timestamp:
12/30/08 15:05:21 (5 years ago)
Author:
xi
Message:

Merged the MSVC6 compatibility hack from the trunk.

Location:
pyyaml/tags/3.08
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pyyaml/tags/3.08/ext/_yaml.h

    r335 r340  
    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/tags/3.08/setup.cfg

    r335 r340  
    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.