diff options
| author | Steve Block <steveblock@google.com> | 2009-12-22 16:28:44 +0000 |
|---|---|---|
| committer | Steve Block <steveblock@google.com> | 2009-12-22 21:27:00 +0000 |
| commit | 22234bcffc603f2c467c02028143ffcb4ffccc09 (patch) | |
| tree | 4889b07463a862041d2cf3d15924ffa244145710 /WebKit/android/stlport/stl/config/_linux.h | |
| parent | 3564cd0fbfa8c6c1de224aca4c7bd0dd92f5161d (diff) | |
| download | external_webkit-22234bcffc603f2c467c02028143ffcb4ffccc09.zip external_webkit-22234bcffc603f2c467c02028143ffcb4ffccc09.tar.gz external_webkit-22234bcffc603f2c467c02028143ffcb4ffccc09.tar.bz2 | |
Move STLPort to external/stlport.
Change-Id: I9cea43f9e1f98cefa654c5661dc7faa7f939068d
Diffstat (limited to 'WebKit/android/stlport/stl/config/_linux.h')
| -rw-r--r-- | WebKit/android/stlport/stl/config/_linux.h | 93 |
1 files changed, 0 insertions, 93 deletions
diff --git a/WebKit/android/stlport/stl/config/_linux.h b/WebKit/android/stlport/stl/config/_linux.h deleted file mode 100644 index 342cd8b..0000000 --- a/WebKit/android/stlport/stl/config/_linux.h +++ /dev/null @@ -1,93 +0,0 @@ -#ifndef __stl_config__linux_h -#define __stl_config__linux_h - -#define _STLP_PLATFORM "Linux" - -#include <features.h> - -/* This is defined wether library in use is glibc or not. - This may be treated as presence of GNU libc compatible - header files (these define is not really intended to check - for the presence of a particular library, but rather is used - to define an INTERFACE.) */ -#ifndef _STLP_USE_GLIBC -# define _STLP_USE_GLIBC 1 -#endif - -#define _STLP_UNIX 1 - -#if defined(_REENTRANT) && !defined(_PTHREADS) -# define _PTHREADS -#endif - -#ifdef __UCLIBC__ /* uClibc 0.9.27 */ -# define _STLP_USE_UCLIBC 1 -# if !defined(__UCLIBC_HAS_WCHAR__) -# ifndef _STLP_NO_WCHAR_T -# define _STLP_NO_WCHAR_T -# endif -# ifndef _STLP_NO_MBSTATE_T -# define _STLP_NO_MBSTATE_T -# endif -# ifndef _STLP_NO_NATIVE_WIDE_STREAMS -# define _STLP_NO_NATIVE_WIDE_STREAMS -# endif -# endif /* __UCLIBC_HAS_WCHAR__ */ - /* Hmm, bogus _GLIBCPP_USE_NAMESPACES seems undefined... */ -# define _STLP_VENDOR_GLOBAL_CSTD 1 -# if defined(_STLP_REAL_LOCALE_IMPLEMENTED) - /* locale in uClibc is very restricted */ - /* recheck if __UCLIBC_HAS_LOCALE__ defined...*/ -# undef _STLP_REAL_LOCALE_IMPLEMENTED -# endif -#endif - - -#if defined(_PTHREADS) -# define _STLP_THREADS -# define _STLP_PTHREADS -/* -# ifndef __USE_UNIX98 -# define __USE_UNIX98 -# endif -*/ -/* This feature exist at least since glibc 2.2.4 */ -/* # define __FIT_XSI_THR */ /* Unix 98 or X/Open System Interfaces Extention */ -# ifdef __USE_XOPEN2K -/* The IEEE Std. 1003.1j-2000 introduces functions to implement spinlocks. */ -# ifndef __UCLIBC__ /* There are no spinlocks in uClibc 0.9.27 */ -# define _STLP_USE_PTHREAD_SPINLOCK -# else -# ifndef _STLP_DONT_USE_PTHREAD_SPINLOCK - /* in uClibc (0.9.26) pthread_spinlock* declared in headers - * but absent in library */ -# define _STLP_DONT_USE_PTHREAD_SPINLOCK -# endif -# endif -/* # define __FIT_PSHARED_MUTEX */ -# endif -#endif - -/* Endiannes */ -#include <endian.h> -#if !defined(__BYTE_ORDER) || !defined(__LITTLE_ENDIAN) || !defined(__BIG_ENDIAN) -# error "One of __BYTE_ORDER, __LITTLE_ENDIAN and __BIG_ENDIAN undefined; Fix me!" -#endif - -#if ( __BYTE_ORDER == __LITTLE_ENDIAN ) -# define _STLP_LITTLE_ENDIAN 1 -#elif ( __BYTE_ORDER == __BIG_ENDIAN ) -# define _STLP_BIG_ENDIAN 1 -#else -# error "__BYTE_ORDER neither __BIG_ENDIAN nor __LITTLE_ENDIAN; Fix me!" -#endif - -#if defined(__GNUC__) && (__GNUC__ < 3) -# define _STLP_NO_NATIVE_WIDE_FUNCTIONS 1 -/* -# define _STLP_NO_NATIVE_WIDE_STREAMS 1 -*/ -#endif - - -#endif /* __stl_config__linux_h */ |
