/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/python-compat.h

  • Committer: Jelmer Vernooij
  • Date: 2010-12-24 23:15:44 UTC
  • mto: This revision was merged to the branch mainline in revision 5581.
  • Revision ID: jelmer@samba.org-20101224231544-wlh932a07xv52k1y
Convert bzrlib.timestamp.unpack_highres_date doc test to a unit test.

This also fixes some issues with the number of decimals that get returned when formatting
a float, which differs between Python versions.

Show diffs side-by-side

added added

removed removed

Lines of Context:
74
74
 
75
75
#ifdef _MSC_VER
76
76
#define  snprintf  _snprintf
 
77
/* gcc (mingw32) has strtoll, while the MSVC compiler uses _strtoi64 */
 
78
#define strtoll _strtoi64
 
79
#define strtoull _strtoui64
77
80
#endif
78
81
 
79
82
/* Introduced in Python 2.6 */