diff options
author | Tor Lillqvist <tml@iki.fi> | 2011-05-07 00:25:55 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2011-05-13 20:24:40 +0300 |
commit | eaf8e0939a3d8b724dec7ff48d4ada48bbfe3ebc (patch) | |
tree | b6c3cac34c1c8e4a88065a42362b8aa7e10a4513 /soltools/cpp | |
parent | Let's call master LibreOffice 3.5 for now (diff) | |
download | core-eaf8e0939a3d8b724dec7ff48d4ada48bbfe3ebc.tar.gz core-eaf8e0939a3d8b724dec7ff48d4ada48bbfe3ebc.zip |
Some initial baby steps towards cross-compilation
And some baby steps for cross-compiling for iOS in particular.
Diffstat (limited to 'soltools/cpp')
-rw-r--r-- | soltools/cpp/_unix.c | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/soltools/cpp/_unix.c b/soltools/cpp/_unix.c index 05eb375e2e7a..5175e48e4ebf 100644 --- a/soltools/cpp/_unix.c +++ b/soltools/cpp/_unix.c @@ -198,39 +198,4 @@ void } -/* memmove is defined here because some vendors don't provide it at - all and others do a terrible job (like calling malloc) */ - -#if !defined(__IBMC__) && !defined(_WIN32) && !defined(__GLIBC__) - -void * - memmove(void *dp, const void *sp, size_t n) -{ - unsigned char *cdp, *csp; - - if (n <= 0) - return 0; - cdp = dp; - csp = (unsigned char *) sp; - if (cdp < csp) - { - do - { - *cdp++ = *csp++; - } while (--n); - } - else - { - cdp += n; - csp += n; - do - { - *--cdp = *--csp; - } while (--n); - } - return 0; -} - -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |