1041656818eb2625982d4b55d176468a4bd07fb32David 'Digit' Turner/* 2041656818eb2625982d4b55d176468a4bd07fb32David 'Digit' Turner * Copyright (C) 2013 The Android Open Source Project 3041656818eb2625982d4b55d176468a4bd07fb32David 'Digit' Turner * All rights reserved. 4041656818eb2625982d4b55d176468a4bd07fb32David 'Digit' Turner * 5041656818eb2625982d4b55d176468a4bd07fb32David 'Digit' Turner * Redistribution and use in source and binary forms, with or without 6041656818eb2625982d4b55d176468a4bd07fb32David 'Digit' Turner * modification, are permitted provided that the following conditions 7041656818eb2625982d4b55d176468a4bd07fb32David 'Digit' Turner * are met: 8041656818eb2625982d4b55d176468a4bd07fb32David 'Digit' Turner * * Redistributions of source code must retain the above copyright 9041656818eb2625982d4b55d176468a4bd07fb32David 'Digit' Turner * notice, this list of conditions and the following disclaimer. 10041656818eb2625982d4b55d176468a4bd07fb32David 'Digit' Turner * * Redistributions in binary form must reproduce the above copyright 11041656818eb2625982d4b55d176468a4bd07fb32David 'Digit' Turner * notice, this list of conditions and the following disclaimer in 12041656818eb2625982d4b55d176468a4bd07fb32David 'Digit' Turner * the documentation and/or other materials provided with the 13041656818eb2625982d4b55d176468a4bd07fb32David 'Digit' Turner * distribution. 14041656818eb2625982d4b55d176468a4bd07fb32David 'Digit' Turner * 15041656818eb2625982d4b55d176468a4bd07fb32David 'Digit' Turner * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 16041656818eb2625982d4b55d176468a4bd07fb32David 'Digit' Turner * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 17041656818eb2625982d4b55d176468a4bd07fb32David 'Digit' Turner * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 18041656818eb2625982d4b55d176468a4bd07fb32David 'Digit' Turner * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE 19041656818eb2625982d4b55d176468a4bd07fb32David 'Digit' Turner * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, 20041656818eb2625982d4b55d176468a4bd07fb32David 'Digit' Turner * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 21041656818eb2625982d4b55d176468a4bd07fb32David 'Digit' Turner * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS 22041656818eb2625982d4b55d176468a4bd07fb32David 'Digit' Turner * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED 23041656818eb2625982d4b55d176468a4bd07fb32David 'Digit' Turner * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 24041656818eb2625982d4b55d176468a4bd07fb32David 'Digit' Turner * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT 25041656818eb2625982d4b55d176468a4bd07fb32David 'Digit' Turner * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 26041656818eb2625982d4b55d176468a4bd07fb32David 'Digit' Turner * SUCH DAMAGE. 27041656818eb2625982d4b55d176468a4bd07fb32David 'Digit' Turner */ 28041656818eb2625982d4b55d176468a4bd07fb32David 'Digit' Turner#ifndef NDK_ANDROID_SUPPORT_STRING_H 29041656818eb2625982d4b55d176468a4bd07fb32David 'Digit' Turner#define NDK_ANDROID_SUPPORT_STRING_H 30041656818eb2625982d4b55d176468a4bd07fb32David 'Digit' Turner 31041656818eb2625982d4b55d176468a4bd07fb32David 'Digit' Turner#include_next <string.h> 327c811775212f8ae0ecdcf60d05fefb1582207038Andrew Hsieh 337c811775212f8ae0ecdcf60d05fefb1582207038Andrew Hsieh#if !defined(__LP64__) 347c811775212f8ae0ecdcf60d05fefb1582207038Andrew Hsieh 357cd0bc09a50cce63a083e9d9c4555e3bb0dc001eAndrew Hsieh#include <xlocale.h> 36041656818eb2625982d4b55d176468a4bd07fb32David 'Digit' Turner 37041656818eb2625982d4b55d176468a4bd07fb32David 'Digit' Turner#ifdef __cplusplus 38041656818eb2625982d4b55d176468a4bd07fb32David 'Digit' Turnerextern "C" { 39041656818eb2625982d4b55d176468a4bd07fb32David 'Digit' Turner#endif 40041656818eb2625982d4b55d176468a4bd07fb32David 'Digit' Turner 41041656818eb2625982d4b55d176468a4bd07fb32David 'Digit' Turnerint strcoll_l(const char*, const char*, locale_t); 42041656818eb2625982d4b55d176468a4bd07fb32David 'Digit' Turnersize_t strxfrm_l(char *, const char *, size_t, locale_t); 43041656818eb2625982d4b55d176468a4bd07fb32David 'Digit' Turner 44041656818eb2625982d4b55d176468a4bd07fb32David 'Digit' Turner#ifdef __cplusplus 45041656818eb2625982d4b55d176468a4bd07fb32David 'Digit' Turner} // extern "C" 46041656818eb2625982d4b55d176468a4bd07fb32David 'Digit' Turner#endif 47041656818eb2625982d4b55d176468a4bd07fb32David 'Digit' Turner 487c811775212f8ae0ecdcf60d05fefb1582207038Andrew Hsieh#endif // !__LP64__ 497c811775212f8ae0ecdcf60d05fefb1582207038Andrew Hsieh 50041656818eb2625982d4b55d176468a4bd07fb32David 'Digit' Turner#endif // NDK_ANDROID_SUPPORT_STRING_H 51