summaryrefslogtreecommitdiff
path: root/rsc
diff options
context:
space:
mode:
authorFrançois Tigeot <ftigeot@wolfpond.org>2011-11-25 14:42:10 +0100
committerFrançois Tigeot <ftigeot@wolfpond.org>2011-11-25 14:42:10 +0100
commita5cabdbc747bfd13216bf45f50ec36ad28cfed53 (patch)
tree5ac9bf232986d28860bb69c1cea1667cfdde48d6 /rsc
parent3a1441c0d3107c69fd80492fa7e182d4f8c02d3d (diff)
BIG_ENDIAN was never set
Remove its conditional code
Diffstat (limited to 'rsc')
-rw-r--r--rsc/source/rscpp/cpp5.c8
-rw-r--r--rsc/source/rscpp/cppdef.h11
2 files changed, 0 insertions, 19 deletions
diff --git a/rsc/source/rscpp/cpp5.c b/rsc/source/rscpp/cpp5.c
index 4eb3183b5a86..24b13b944ffe 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 2490f1df7d7b..29b5d922ba8f 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