develooper Front page | perl.perl5.porters | Postings from July 2001

[PATCH utf8.h] Eliminate warning ifndef HAS_QUAD

Thread Next
From:
Norton Allen
Date:
July 6, 2001 06:29
Subject:
[PATCH utf8.h] Eliminate warning ifndef HAS_QUAD
Message ID:
200107061336.JAA11994@bottesini.harvard.edu
exit 0
=============

  Eliminate warning ifndef HAS_QUAD.
  
    -Norton Allen

*** ../ORIG/perl-11148/utf8.h	Thu Jun 28 22:19:43 2001
--- perl-11148/utf8.h	Fri Jul  6 09:06:34 2001
***************
*** 159,164 ****
  #define UNICODE_IS_BYTE_ORDER_MARK(c)	((c) == UNICODE_BYTER_ORDER_MARK)
  #define UNICODE_IS_ILLEGAL(c)		((c) == UNICODE_ILLEGAL)
  
! #define UTF8_QUAD_MAX	UINT64_C(0x1000000000)
  
  #define UTF8_IS_ASCII(c) UTF8_IS_INVARIANT(c)
--- 159,166 ----
  #define UNICODE_IS_BYTE_ORDER_MARK(c)	((c) == UNICODE_BYTER_ORDER_MARK)
  #define UNICODE_IS_ILLEGAL(c)		((c) == UNICODE_ILLEGAL)
  
! #ifdef HAS_QUAD
! #    define UTF8_QUAD_MAX	UINT64_C(0x1000000000)
! #endif
  
  #define UTF8_IS_ASCII(c) UTF8_IS_INVARIANT(c)

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About