rsc/source/rscpp/cpp5.c | 8 -------- rsc/source/rscpp/cppdef.h | 11 ----------- 2 files changed, 19 deletions(-)
New commits: commit a5cabdbc747bfd13216bf45f50ec36ad28cfed53 Author: François Tigeot <ftig...@wolfpond.org> Date: Fri Nov 25 14:42:10 2011 +0100 BIG_ENDIAN was never set Remove its conditional code diff --git a/rsc/source/rscpp/cpp5.c b/rsc/source/rscpp/cpp5.c index 4eb3183..24b13b9 100644 --- a/rsc/source/rscpp/cpp5.c +++ b/rsc/source/rscpp/cpp5.c @@ -750,19 +750,11 @@ evalchar(int skip) * We warn on multi-byte constants and try to hack * (big|little)endian machines. */ -#if BIG_ENDIAN - count = 0; -#endif while ((c = get()) != '\'' && c != EOF_CHAR && c != '\n') { if (!skip) ciwarn("multi-byte constant '%c' isn't portable", c); -#if BIG_ENDIAN - count += BITS_CHAR; - value += (c << count); -#else value <<= BITS_CHAR; value += c; -#endif } instring = FALSE; return (value); diff --git a/rsc/source/rscpp/cppdef.h b/rsc/source/rscpp/cppdef.h index 2490f1d..29b5d92 100644 --- a/rsc/source/rscpp/cppdef.h +++ b/rsc/source/rscpp/cppdef.h @@ -220,17 +220,6 @@ #endif /* - * BIG_ENDIAN is set TRUE on machines (such as the IBM 360 series) - * where 'ab' stores 'a' in the high-bits and 'b' in the low-bits. - * It is set FALSE on machines (such as the PDP-11 and Vax-11) - * where 'ab' stores 'a' in the low-bits and 'b' in the high-bits. - * (Or is it the other way around?) -- Warning: BIG_ENDIAN code is untested. - */ -#ifndef BIG_ENDIAN -#define BIG_ENDIAN FALSE -#endif - -/* * COMMENT_INVISIBLE may be defined to allow "old-style" comment * processing, whereby the comment becomes a zero-length token * delimiter. This permitted tokens to be concatenated in macro
_______________________________________________ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits