diff options
author | Tor Andersson <tor@ghostscript.com> | 2010-07-08 22:31:11 +0200 |
---|---|---|
committer | Tor Andersson <tor@ghostscript.com> | 2010-07-08 22:31:11 +0200 |
commit | 839eda4994874c02cbaf546a40d374a4edb16539 (patch) | |
tree | 34ac89eef9fdb771f3d3fd96e32b42de5c5046a5 /fitz/base_string.c | |
parent | 7f662f1e98e0b4717d06f1b667fb969d35e60274 (diff) | |
download | mupdf-839eda4994874c02cbaf546a40d374a4edb16539.tar.xz |
Remove unmaintained MMX optimized function and runtime detection.
Diffstat (limited to 'fitz/base_string.c')
-rw-r--r-- | fitz/base_string.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/fitz/base_string.c b/fitz/base_string.c index e18d8720..b6b85865 100644 --- a/fitz/base_string.c +++ b/fitz/base_string.c @@ -2,6 +2,12 @@ #include <string.h> +int fz_isbigendian(void) +{ + static const int one = 1; + return *(char*)&one == 0; +} + char *fz_strsep(char **stringp, const char *delim) { char *ret = *stringp; |