summaryrefslogtreecommitdiff
path: root/rsc/source/rscpp/cpp5.c
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/source/rscpp/cpp5.c
parent3a1441c0d3107c69fd80492fa7e182d4f8c02d3d (diff)
BIG_ENDIAN was never set
Remove its conditional code
Diffstat (limited to 'rsc/source/rscpp/cpp5.c')
-rw-r--r--rsc/source/rscpp/cpp5.c8
1 files changed, 0 insertions, 8 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);