mirror of
https://github.com/llvm-mirror/libcxx.git
synced 2025-10-23 10:07:41 +08:00

Summary: None of these checks are specific to Android devices. If libc++ was used with Bionic on a normal Linux system these checks would still be needed. Reviewers: mclow.lists, EricWF Subscribers: compnerd, tberghammer, danalbert, srhines, cfe-commits Differential Revision: https://reviews.llvm.org/D24690 git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@281921 91177308-0d34-0410-b5e6-96231b3b80d8
32 lines
783 B
C++
32 lines
783 B
C++
// -*- C++ -*-
|
|
//===------------------- support/android/locale_bionic.h ------------------===//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file is dual licensed under the MIT and the University of Illinois Open
|
|
// Source Licenses. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifndef _LIBCPP_SUPPORT_ANDROID_LOCALE_BIONIC_H
|
|
#define _LIBCPP_SUPPORT_ANDROID_LOCALE_BIONIC_H
|
|
|
|
#if defined(__BIONIC__)
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#include <stdlib.h>
|
|
#include <xlocale.h>
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#include <support/xlocale/__posix_l_fallback.h>
|
|
#include <support/xlocale/__strtonum_fallback.h>
|
|
|
|
#endif // defined(__BIONIC__)
|
|
#endif // _LIBCPP_SUPPORT_ANDROID_LOCALE_BIONIC_H
|