[Python-checkins] python/dist/src/Modules md5.h,2.7,2.8

mwh@users.sourceforge.net mwh@users.sourceforge.net
Wed, 29 May 2002 03:32:26 -0700


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

Modified Files:
	md5.h 
Log Message:
This is patch

[ 558914 ] Build md5.c fails on Cray T3E

I've also deleted a comment that I didn't understand.  Feel free to 
put it back if it makes/made sense to you.


Index: md5.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/md5.h,v
retrieving revision 2.7
retrieving revision 2.8
diff -C2 -d -r2.7 -r2.8
*** md5.h	26 Sep 2000 05:46:01 -0000	2.7
--- md5.h	29 May 2002 10:32:24 -0000	2.8
***************
*** 31,45 ****
  typedef unsigned char *POINTER;
  
- /* UINT2 defines a two byte word */
- typedef unsigned short int UINT2;
- 
  /* UINT4 defines a four byte word */
  #if SIZEOF_LONG == 4
  typedef unsigned long int UINT4;
! #else
! #if INT_MAX == 2147483647
  typedef unsigned int UINT4;
- #endif
- /* Too bad if neither is; pyport.h would need to be fixed. */
  #endif
  
--- 31,41 ----
  typedef unsigned char *POINTER;
  
  /* UINT4 defines a four byte word */
  #if SIZEOF_LONG == 4
  typedef unsigned long int UINT4;
! #elif SIZEOF_SHORT == 4
! typedef unsigned short int UINT4;
! #elif INT_MAX == 2147483647
  typedef unsigned int UINT4;
  #endif