[Python-checkins] CVS: python/dist/src/Modules _codecsmodule.c,2.7,2.8

Fredrik Lundh effbot@users.sourceforge.net
Tue, 26 Jun 2001 08:11:02 -0700


Update of /cvsroot/python/python/dist/src/Modules
In directory usw-pr-cvs1:/tmp/cvs-serv28944/Modules

Modified Files:
	_codecsmodule.c 
Log Message:


experimental UCS-4 support: don't assume that MS_WIN32 implies
HAVE_USABLE_WCHAR_T


Index: _codecsmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/_codecsmodule.c,v
retrieving revision 2.7
retrieving revision 2.8
diff -C2 -r2.7 -r2.8
*** _codecsmodule.c	2001/06/17 18:32:36	2.7
--- _codecsmodule.c	2001/06/26 15:11:00	2.8
***************
*** 300,304 ****
  }
  
! #ifdef MS_WIN32
  
  static PyObject *
--- 300,304 ----
  }
  
! #if defined(MS_WIN32) && defined(HAVE_USABLE_WCHAR_T)
  
  static PyObject *
***************
*** 596,600 ****
  }
  
! #ifdef MS_WIN32
  
  static PyObject *
--- 596,600 ----
  }
  
! #if defined(MS_WIN32) && defined(HAVE_USABLE_WCHAR_T)
  
  static PyObject *
***************
*** 651,655 ****
      {"readbuffer_encode",	readbuffer_encode,		1},
      {"charbuffer_encode",	charbuffer_encode,		1},
! #ifdef MS_WIN32
      {"mbcs_encode", 		mbcs_encode,			1},
      {"mbcs_decode", 		mbcs_decode,			1},
--- 651,655 ----
      {"readbuffer_encode",	readbuffer_encode,		1},
      {"charbuffer_encode",	charbuffer_encode,		1},
! #if defined(MS_WIN32) && defined(HAVE_USABLE_WCHAR_T)
      {"mbcs_encode", 		mbcs_encode,			1},
      {"mbcs_decode", 		mbcs_decode,			1},