3ae12f77af
2007/11/29 10:42:17 obo 1.11.16.1: #i83979# MacOSX: Build environment adjustments for Leopard/Tiger
547 lines
15 KiB
Diff
547 lines
15 KiB
Diff
*** misc/STLport-4.5/src/dll_main.cpp Sat Aug 25 03:14:19 2001
|
|
--- misc/build/STLport-4.5/src/dll_main.cpp Fri Nov 23 14:12:12 2007
|
|
***************
|
|
*** 147,152 ****
|
|
--- 147,156 ----
|
|
template struct _STLP_CLASS_DECLSPEC __stl_debug_engine<bool>;
|
|
# endif
|
|
|
|
+ #ifdef __APPLE__
|
|
+ template class _STLP_CLASS_DECLSPEC _Node_Alloc_Lock<false,0>;
|
|
+ template class _STLP_CLASS_DECLSPEC _Node_Alloc_Lock<true,0>;
|
|
+ #endif
|
|
template class _STLP_CLASS_DECLSPEC __node_alloc<false,0>;
|
|
template class _STLP_CLASS_DECLSPEC __node_alloc<true,0>;
|
|
template class _STLP_CLASS_DECLSPEC __debug_alloc< __node_alloc<true,0> >;
|
|
*** misc/STLport-4.5/src/gcc-3.0-freebsd.mak Fri Nov 23 14:22:58 2007
|
|
--- misc/build/STLport-4.5/src/gcc-3.0-freebsd.mak Fri Nov 23 14:12:12 2007
|
|
***************
|
|
*** 1 ****
|
|
! dummy
|
|
--- 1,59 ----
|
|
! #
|
|
! # Note : this makefile is for gcc-3 !
|
|
! #
|
|
!
|
|
! #
|
|
! # compiler
|
|
! #
|
|
! CC+= ${PTHREAD_CFLAGS} -D_REENTRANT
|
|
! CXX+= ${PTHREAD_CFLAGS} -D_REENTRANT -fexceptions
|
|
!
|
|
! #
|
|
! # Basename for libraries
|
|
! #
|
|
! LIB_BASENAME = libstlport_gcc
|
|
!
|
|
! #
|
|
! # guts for common stuff
|
|
! #
|
|
! #
|
|
! LINK=ar cr
|
|
! DYN_LINK=${CXX} ${PTHREAD_LIBS} --fexceptions -shared -o
|
|
!
|
|
! OBJEXT=o
|
|
! DYNEXT=so
|
|
! STEXT=a
|
|
! RM=rm -rf
|
|
! PATH_SEP=/
|
|
! MKDIR=mkdir -p
|
|
! COMP=GCC-FREEBSD
|
|
! INSTALL_STEP = install_unix
|
|
!
|
|
! all: all_dynamic all_static symbolic_links
|
|
!
|
|
! include common_macros.mak
|
|
!
|
|
! WARNING_FLAGS= -Wall -W -Wno-sign-compare -Wno-unused -Wno-uninitialized -ftemplate-depth-32
|
|
!
|
|
! CXXFLAGS_COMMON = -I${STLPORT_DIR} -DGXX_INCLUDE_PATH=${GXX_INCLUDE_PATH} ${WARNING_FLAGS} ${ARCH_FLAGS}
|
|
!
|
|
! CXXFLAGS_RELEASE_static = $(CXXFLAGS_COMMON) ${CXXFLAGS}
|
|
! CXXFLAGS_RELEASE_dynamic = $(CXXFLAGS_COMMON) ${CXXFLAGS} -fPIC
|
|
!
|
|
! CXXFLAGS_DEBUG_static = $(CXXFLAGS_COMMON) -g
|
|
! CXXFLAGS_DEBUG_dynamic = $(CXXFLAGS_COMMON) -g -fPIC
|
|
!
|
|
! CXXFLAGS_STLDEBUG_static = $(CXXFLAGS_DEBUG_static) -D_STLP_DEBUG
|
|
! CXXFLAGS_STLDEBUG_dynamic = $(CXXFLAGS_DEBUG_dynamic) -D_STLP_DEBUG
|
|
!
|
|
! include common_percent_rules.mak
|
|
! include common_rules.mak
|
|
!
|
|
!
|
|
! #install: all
|
|
! # cp -p $(LIB_TARGET) ${D_LIB_TARGET} ../lib
|
|
!
|
|
! #%.s: %.cpp
|
|
! # $(CXX) $(CXXFLAGS) -O4 -S -pto $< -o $@
|
|
!
|
|
!
|
|
*** misc/STLport-4.5/src/gcc-3.0-macosx.mak Fri Nov 23 14:22:58 2007
|
|
--- misc/build/STLport-4.5/src/gcc-3.0-macosx.mak Fri Nov 23 14:22:27 2007
|
|
***************
|
|
*** 1 ****
|
|
! dummy
|
|
--- 1,65 ----
|
|
! #
|
|
! # Note : this makefile is for gcc-3, Mac OS X only !
|
|
! #
|
|
!
|
|
! #
|
|
! # compiler
|
|
! # take these from the OOo build environment
|
|
! CC*= gcc
|
|
! CXX*= g++
|
|
!
|
|
! #
|
|
! # Basename for libraries
|
|
! #
|
|
! LIB_BASENAME = libstlport_gcc
|
|
!
|
|
! #
|
|
! # guts for common stuff
|
|
! #
|
|
! #
|
|
! LINK=libtool -static -o
|
|
! DYN_LINK=g++ -o
|
|
!
|
|
! LDFLAGS_COMMON_dynamic= -dynamiclib -single_module $(EXTRA_LINKFLAGS)
|
|
!
|
|
! LDFLAGS_RELEASE_dynamic= $(LDFLAGS_COMMON_dynamic) -install_name @executable_path/libstlport_gcc.dylib
|
|
! LDFLAGS_DEBUG_dynamic= $(LDFLAGS_COMMON_dynamic) -install_name @executable_path/libstlport_gcc.dylib
|
|
! LDFLAGS_STLDEBUG_dynamic= $(LDFLAGS_COMMON_dynamic) -install_name @executable_path/libstlport_gcc_stldebug.dylib
|
|
!
|
|
! OBJEXT=o
|
|
! DYNEXT=dylib
|
|
! STEXT=a
|
|
! RM=rm -rf
|
|
! PATH_SEP=/
|
|
! MKDIR=mkdir -p
|
|
! COMP=GCC$(ARCH)
|
|
! INSTALL_STEP = install_unix
|
|
!
|
|
! all: all_dynamic all_static symbolic_links
|
|
!
|
|
! include common_macros.mak
|
|
!
|
|
! WARNING_FLAGS= -Wall -W -Wno-sign-compare -Wno-unused -Wno-uninitialized -Wno-long-double
|
|
!
|
|
! CXXFLAGS_COMMON = ${ENVCDEFS} -I${STLPORT_DIR} -DGXX_INCLUDE_PATH=${GXX_INCLUDE_PATH} -D_REENTRANT -D_PTHREADS -ftemplate-depth-32 -malign-natural -no-cpp-precomp -fexceptions ${WARNING_FLAGS} ${ARCH_FLAGS} $(EXTRA_CDEFS) $(EXTRA_CFLAGS)
|
|
!
|
|
! CXXFLAGS_RELEASE_static = $(CXXFLAGS_COMMON) -O2 -fPIC
|
|
! CXXFLAGS_RELEASE_dynamic = $(CXXFLAGS_COMMON) -O2 -fPIC
|
|
!
|
|
! CXXFLAGS_DEBUG_static = $(CXXFLAGS_COMMON) -g -fPIC
|
|
! CXXFLAGS_DEBUG_dynamic = $(CXXFLAGS_COMMON) -g -fPIC
|
|
!
|
|
! CXXFLAGS_STLDEBUG_static = $(CXXFLAGS_DEBUG_static) -D_STLP_DEBUG
|
|
! CXXFLAGS_STLDEBUG_dynamic = $(CXXFLAGS_DEBUG_dynamic) -D_STLP_DEBUG
|
|
!
|
|
! include common_percent_rules.mak
|
|
! include common_rules.mak
|
|
!
|
|
!
|
|
! #install: all
|
|
! # cp -p $(LIB_TARGET) ${D_LIB_TARGET} ../lib
|
|
!
|
|
! #%.s: %.cpp
|
|
! # $(CXX) $(CXXFLAGS) -O4 -S -pto $< -o $@
|
|
!
|
|
!
|
|
*** misc/STLport-4.5/src/gcc-3.0.mak Fri Nov 23 14:22:58 2007
|
|
--- misc/build/STLport-4.5/src/gcc-3.0.mak Fri Nov 23 14:12:12 2007
|
|
***************
|
|
*** 1 ****
|
|
! dummy
|
|
--- 1,59 ----
|
|
! #
|
|
! # Note : this makefile is for gcc-3 !
|
|
! #
|
|
!
|
|
! #
|
|
! # compiler
|
|
! # take these from the OOo build environment
|
|
! CC*= gcc
|
|
! CXX*= g++
|
|
!
|
|
! #
|
|
! # Basename for libraries
|
|
! #
|
|
! LIB_BASENAME = libstlport_gcc
|
|
!
|
|
! #
|
|
! # guts for common stuff
|
|
! #
|
|
! #
|
|
! LINK=ar cr
|
|
! DYN_LINK=$(CXX) --fexceptions -shared -o
|
|
!
|
|
! OBJEXT=o
|
|
! DYNEXT=so
|
|
! STEXT=a
|
|
! RM=rm -rf
|
|
! PATH_SEP=/
|
|
! MKDIR=mkdir -p
|
|
! COMP=GCC$(ARCH)
|
|
! INSTALL_STEP = install_unix
|
|
!
|
|
! all: all_dynamic all_static symbolic_links
|
|
!
|
|
! include common_macros.mak
|
|
!
|
|
! WARNING_FLAGS= -Wall -W -Wno-sign-compare -Wno-unused -Wno-uninitialized -ftemplate-depth-32
|
|
!
|
|
! CXXFLAGS_COMMON = -D_REENTRANT -DGXX_INCLUDE_PATH=${GXX_INCLUDE_PATH} -fexceptions -I${STLPORT_DIR} ${WARNING_FLAGS} ${ARCH_FLAGS}
|
|
!
|
|
! CXXFLAGS_RELEASE_static = $(CXXFLAGS_COMMON) -O2 -fPIC
|
|
! CXXFLAGS_RELEASE_dynamic = $(CXXFLAGS_COMMON) -O2 -fPIC
|
|
!
|
|
! CXXFLAGS_DEBUG_static = $(CXXFLAGS_COMMON) -g -fPIC
|
|
! CXXFLAGS_DEBUG_dynamic = $(CXXFLAGS_COMMON) -g -fPIC
|
|
!
|
|
! CXXFLAGS_STLDEBUG_static = $(CXXFLAGS_DEBUG_static) -D_STLP_DEBUG
|
|
! CXXFLAGS_STLDEBUG_dynamic = $(CXXFLAGS_DEBUG_dynamic) -D_STLP_DEBUG
|
|
!
|
|
! include common_percent_rules.mak
|
|
! include common_rules.mak
|
|
!
|
|
!
|
|
! #install: all
|
|
! # cp -p $(LIB_TARGET) ${D_LIB_TARGET} ../lib
|
|
!
|
|
! #%.s: %.cpp
|
|
! # $(CXX) $(CXXFLAGS) -O4 -S -pto $< -o $@
|
|
!
|
|
!
|
|
*** misc/STLport-4.5/src/gcc-freebsd.mak Sun Jul 29 05:36:25 2001
|
|
--- misc/build/STLport-4.5/src/gcc-freebsd.mak Fri Nov 23 14:12:12 2007
|
|
***************
|
|
*** 5,12 ****
|
|
#
|
|
# compiler
|
|
#
|
|
! CC = gcc -pthread
|
|
! CXX = c++ -pthread -fexceptions
|
|
|
|
#
|
|
# Basename for libraries
|
|
--- 5,12 ----
|
|
#
|
|
# compiler
|
|
#
|
|
! CC+= ${PTHREAD_CFLAGS} -D_REENTRANT
|
|
! CXX+= ${PTHREAD_CFLAGS} -D_REENTRANT -fexceptions
|
|
|
|
#
|
|
# Basename for libraries
|
|
***************
|
|
*** 19,25 ****
|
|
#
|
|
LINK=ar cr
|
|
# 2.95 flag
|
|
! DYN_LINK=c++ -pthread -fexceptions -shared -o
|
|
|
|
OBJEXT=o
|
|
DYNEXT=so
|
|
--- 19,25 ----
|
|
#
|
|
LINK=ar cr
|
|
# 2.95 flag
|
|
! DYN_LINK=${CXX} ${PTHREAD_LIBS} -fexceptions -shared -o
|
|
|
|
OBJEXT=o
|
|
DYNEXT=so
|
|
***************
|
|
*** 39,48 ****
|
|
|
|
WARNING_FLAGS= -Wall -W -Wno-sign-compare -Wno-unused -Wno-uninitialized -ftemplate-depth-32
|
|
|
|
! CXXFLAGS_COMMON = -I${STLPORT_DIR} ${WARNING_FLAGS}
|
|
|
|
! CXXFLAGS_RELEASE_static = $(CXXFLAGS_COMMON) -O2
|
|
! CXXFLAGS_RELEASE_dynamic = $(CXXFLAGS_COMMON) -O2 -fPIC
|
|
|
|
CXXFLAGS_DEBUG_static = $(CXXFLAGS_COMMON) -g
|
|
CXXFLAGS_DEBUG_dynamic = $(CXXFLAGS_COMMON) -g -fPIC
|
|
--- 39,48 ----
|
|
|
|
WARNING_FLAGS= -Wall -W -Wno-sign-compare -Wno-unused -Wno-uninitialized -ftemplate-depth-32
|
|
|
|
! CXXFLAGS_COMMON = -I${STLPORT_DIR} -DGXX_INCLUDE_PATH=${GXX_INCLUDE_PATH} ${WARNING_FLAGS} ${ARCH_FLAGS}
|
|
|
|
! CXXFLAGS_RELEASE_static = $(CXXFLAGS_COMMON) ${CXXFLAGS}
|
|
! CXXFLAGS_RELEASE_dynamic = $(CXXFLAGS_COMMON) ${CXXFLAGS} -fPIC
|
|
|
|
CXXFLAGS_DEBUG_static = $(CXXFLAGS_COMMON) -g
|
|
CXXFLAGS_DEBUG_dynamic = $(CXXFLAGS_COMMON) -g -fPIC
|
|
*** misc/STLport-4.5/stlport/config/stl_gcc.h Tue Sep 4 19:10:16 2001
|
|
--- misc/build/STLport-4.5/stlport/config/stl_gcc.h Fri Nov 23 14:12:12 2007
|
|
***************
|
|
*** 71,80 ****
|
|
* static data members in template classes */
|
|
# if defined (__APPLE__)
|
|
/* Mac OS X is missing a required typedef and standard macro */
|
|
! typedef unsigned int wint_t;
|
|
|
|
# define __unix
|
|
|
|
/* Mac OS X needs one and only one source file to initialize all static data
|
|
* members in template classes. Only one source file in an executable or
|
|
* library can declare instances for such data members, otherwise duplicate
|
|
--- 71,82 ----
|
|
* static data members in template classes */
|
|
# if defined (__APPLE__)
|
|
/* Mac OS X is missing a required typedef and standard macro */
|
|
! /* typedef int wint_t; */
|
|
|
|
# define __unix
|
|
|
|
+ # if ( __GNUC__ < 3 )
|
|
+
|
|
/* Mac OS X needs one and only one source file to initialize all static data
|
|
* members in template classes. Only one source file in an executable or
|
|
* library can declare instances for such data members, otherwise duplicate
|
|
***************
|
|
*** 97,103 ****
|
|
# define _STLP_NATIVE_CPP_C_HEADER(header) <../g++/##header##>
|
|
# define _STLP_NATIVE_OLD_STREAMS_HEADER(header) <../g++/##header##>
|
|
# define _STLP_NATIVE_CPP_RUNTIME_HEADER(header) <../g++/##header##>
|
|
! # endif
|
|
|
|
|
|
# if defined(__BEOS__) && defined(__INTEL__)
|
|
--- 99,125 ----
|
|
# define _STLP_NATIVE_CPP_C_HEADER(header) <../g++/##header##>
|
|
# define _STLP_NATIVE_OLD_STREAMS_HEADER(header) <../g++/##header##>
|
|
# define _STLP_NATIVE_CPP_RUNTIME_HEADER(header) <../g++/##header##>
|
|
!
|
|
! # else
|
|
! /* Mac OS X using gcc 3.3 handles all well */
|
|
! # undef _STLP_NO_STATIC_TEMPLATE_DATA
|
|
! # define _STLP_STATIC_TEMPLATE_DATA 1
|
|
! # define _STLP_WEAK_ATTRIBUTE 1
|
|
! # undef _STLP_NO_LONG_DOUBLE
|
|
!
|
|
! #if __GNUC__ > 3
|
|
! # undef _STLP_NO_MEMBER_TEMPLATE_KEYWORD
|
|
! #endif
|
|
!
|
|
! #if 0
|
|
! /* Mac OS X needs all "::" scope references to be "std::" */
|
|
! # define _STLP_NO_CSTD_FUNCTION_IMPORTS
|
|
! # undef _STLP_VENDOR_GLOBAL_STD
|
|
! # undef _STLP_VENDOR_GLOBAL_CSTD
|
|
! #endif
|
|
!
|
|
! # endif /* __GNUC__ < 3 */
|
|
! # endif /* __APPLE__ */
|
|
|
|
|
|
# if defined(__BEOS__) && defined(__INTEL__)
|
|
***************
|
|
*** 226,233 ****
|
|
|
|
# if (__GNUC__ >= 3)
|
|
|
|
! # define _STLP_NATIVE_INCLUDE_PATH ../g++-v3
|
|
! # define _STLP_NATIVE_OLD_STREAMS_INCLUDE_PATH ../g++-v3/backward
|
|
|
|
# elif (__GNUC_MINOR__ < 8)
|
|
|
|
--- 248,258 ----
|
|
|
|
# if (__GNUC__ >= 3)
|
|
|
|
! /* properly determine the STLP_NATIVE_INCLUDE_PATH */
|
|
! #undef i386
|
|
! # define _STLP_NATIVE_INCLUDE_PATH GXX_INCLUDE_PATH
|
|
! # define _STLP_NATIVE_OLD_STREAMS_INCLUDE_PATH \
|
|
! GXX_INCLUDE_PATH/backward
|
|
|
|
# elif (__GNUC_MINOR__ < 8)
|
|
|
|
*** misc/STLport-4.5/stlport/cwchar Sat Jan 27 02:39:42 2001
|
|
--- misc/build/STLport-4.5/stlport/cwchar Fri Nov 23 14:12:12 2007
|
|
***************
|
|
*** 21,26 ****
|
|
--- 21,29 ----
|
|
# include <stl/_prolog.h>
|
|
# endif
|
|
|
|
+ #ifdef __FreeBSD__
|
|
+ #include _STLP_NATIVE_C_HEADER(wchar.h)
|
|
+ #endif
|
|
# include <stl/_cwchar.h>
|
|
|
|
# if (_STLP_OUTERMOST_HEADER_ID == 0x120)
|
|
*** misc/STLport-4.5/stlport/stdarg.h Sat Jan 27 02:39:59 2001
|
|
--- misc/build/STLport-4.5/stlport/stdarg.h Fri Nov 23 14:12:12 2007
|
|
***************
|
|
*** 20,26 ****
|
|
--- 20,30 ----
|
|
# define _STLP_DONT_POP_0x261
|
|
# endif
|
|
|
|
+ #if defined(__GNUC__) && defined(__APPLE__) && (BUILD_OS_MAJOR >= 10) && (BUILD_OS_MINOR >= 4) && (__GNUC__ == 3)
|
|
+ # include _STLP_NATIVE_HEADER(../stdarg.h)
|
|
+ #else
|
|
# include _STLP_NATIVE_C_HEADER(stdarg.h)
|
|
+ #endif
|
|
|
|
# if (_STLP_OUTERMOST_HEADER_ID == 0x261)
|
|
# if ! defined (_STLP_DONT_POP_0x261)
|
|
*** misc/STLport-4.5/stlport/stdexcept Tue May 22 02:50:21 2001
|
|
--- misc/build/STLport-4.5/stlport/stdexcept Fri Nov 23 14:12:12 2007
|
|
***************
|
|
*** 49,54 ****
|
|
--- 49,61 ----
|
|
|
|
_STLP_BEGIN_NAMESPACE
|
|
|
|
+
|
|
+ #if defined( __GNUC__)
|
|
+ #undef _STLP_NOTHROW_INHERENTLY
|
|
+ #define _STLP_NOTHROW_INHERENTLY throw()
|
|
+ #endif
|
|
+
|
|
+
|
|
class _STLP_CLASS_DECLSPEC __Named_exception : public _STLP_EXCEPTION_BASE {
|
|
public:
|
|
__Named_exception(const string& __str)
|
|
*** misc/STLport-4.5/stlport/stl/_ios_base.h Tue Sep 4 19:10:18 2001
|
|
--- misc/build/STLport-4.5/stlport/stl/_ios_base.h Fri Nov 23 14:12:12 2007
|
|
***************
|
|
*** 291,297 ****
|
|
template <class Facet>
|
|
locale::facet* _M_get_facet(ios_base& __i, Facet*)
|
|
{
|
|
!
|
|
}
|
|
|
|
// ----------------------------------------------------------------------
|
|
--- 291,297 ----
|
|
template <class Facet>
|
|
locale::facet* _M_get_facet(ios_base& __i, Facet*)
|
|
{
|
|
! return NULL;
|
|
}
|
|
|
|
// ----------------------------------------------------------------------
|
|
*** misc/STLport-4.5/stlport/stl/_list.h Wed May 30 05:45:41 2001
|
|
--- misc/build/STLport-4.5/stlport/stl/_list.h Fri Nov 23 14:12:12 2007
|
|
***************
|
|
*** 87,93 ****
|
|
_List_node_base* _M_node;
|
|
|
|
_List_iterator_base(_List_node_base* __x) : _M_node(__x) {}
|
|
! _List_iterator_base() {}
|
|
|
|
void _M_incr() { _M_node = _M_node->_M_next; }
|
|
void _M_decr() { _M_node = _M_node->_M_prev; }
|
|
--- 87,93 ----
|
|
_List_node_base* _M_node;
|
|
|
|
_List_iterator_base(_List_node_base* __x) : _M_node(__x) {}
|
|
! _List_iterator_base() : _M_node(NULL) {}
|
|
|
|
void _M_incr() { _M_node = _M_node->_M_next; }
|
|
void _M_decr() { _M_node = _M_node->_M_prev; }
|
|
*** misc/STLport-4.5/stlport/stl/_tempbuf.h Wed May 30 05:45:42 2001
|
|
--- misc/build/STLport-4.5/stlport/stl/_tempbuf.h Fri Nov 23 14:12:12 2007
|
|
***************
|
|
*** 113,118 ****
|
|
--- 113,119 ----
|
|
# else
|
|
typedef typename __type_traits<_Tp>::has_trivial_default_constructor _Trivial;
|
|
# endif
|
|
+ _M_buffer = 0;
|
|
_STLP_TRY {
|
|
_M_len = distance(__first, __last);
|
|
_M_allocate_buffer();
|
|
*** misc/STLport-4.5/stlport/stl/_threads.h Tue Sep 4 19:10:20 2001
|
|
--- misc/build/STLport-4.5/stlport/stl/_threads.h Fri Nov 23 14:12:12 2007
|
|
***************
|
|
*** 42,49 ****
|
|
# include <cstdlib>
|
|
# endif
|
|
|
|
! // On SUN and Mac OS X gcc, zero-initialization works just fine...
|
|
! # if defined (__sun) || ( defined(__GNUC__) && defined(__APPLE__) )
|
|
# define _STLP_MUTEX_INITIALIZER
|
|
# endif
|
|
|
|
--- 42,49 ----
|
|
# include <cstdlib>
|
|
# endif
|
|
|
|
! // On SUN zero-initialization works just fine...
|
|
! # if defined (__sun)
|
|
# define _STLP_MUTEX_INITIALIZER
|
|
# endif
|
|
|
|
*** misc/STLport-4.5/stlport/stl/c_locale.h Thu May 31 05:24:41 2001
|
|
--- misc/build/STLport-4.5/stlport/stl/c_locale.h Fri Nov 23 14:12:12 2007
|
|
***************
|
|
*** 290,305 ****
|
|
# define _Locale_ALPHA 256
|
|
|
|
# elif defined (__GNUC__) && defined (__APPLE__)
|
|
!
|
|
! # define _Locale_CNTRL _C
|
|
! # define _Locale_UPPER _U
|
|
! # define _Locale_LOWER _L
|
|
! # define _Locale_DIGIT _D
|
|
! # define _Locale_XDIGIT _X
|
|
! # define _Locale_PUNCT _P
|
|
! # define _Locale_SPACE _S
|
|
! # define _Locale_PRINT _R
|
|
! # define _Locale_ALPHA _A
|
|
|
|
# elif defined (__hpux) || defined (__osf__)
|
|
|
|
--- 290,317 ----
|
|
# define _Locale_ALPHA 256
|
|
|
|
# elif defined (__GNUC__) && defined (__APPLE__)
|
|
!
|
|
! # if (BUILD_OS_MAJOR >= 10) && (BUILD_OS_MINOR >= 4)
|
|
! # define _Locale_CNTRL _CTYPE_C
|
|
! # define _Locale_UPPER _CTYPE_U
|
|
! # define _Locale_LOWER _CTYPE_L
|
|
! # define _Locale_DIGIT _CTYPE_D
|
|
! # define _Locale_XDIGIT _CTYPE_X
|
|
! # define _Locale_PUNCT _CTYPE_P
|
|
! # define _Locale_SPACE _CTYPE_S
|
|
! # define _Locale_PRINT _CTYPE_R
|
|
! # define _Locale_ALPHA _CTYPE_A
|
|
! # else
|
|
! # define _Locale_CNTRL _C
|
|
! # define _Locale_UPPER _U
|
|
! # define _Locale_LOWER _L
|
|
! # define _Locale_DIGIT _D
|
|
! # define _Locale_XDIGIT _X
|
|
! # define _Locale_PUNCT _P
|
|
! # define _Locale_SPACE _S
|
|
! # define _Locale_PRINT _R
|
|
! # define _Locale_ALPHA _A
|
|
! # endif /*BUILD_OS_MAJOR*/
|
|
|
|
# elif defined (__hpux) || defined (__osf__)
|
|
|
|
*** misc/STLport-4.5/stlport/wchar.h Sat Jan 27 02:40:06 2001
|
|
--- misc/build/STLport-4.5/stlport/wchar.h Fri Nov 23 14:12:12 2007
|
|
***************
|
|
*** 28,38 ****
|
|
using _STLP_VENDOR_CSTD::strspn;
|
|
# endif
|
|
|
|
- # if defined (__GNUC__) && defined (__APPLE__)
|
|
- # include _STLP_NATIVE_C_HEADER(stddef.h)
|
|
- # else
|
|
# include _STLP_NATIVE_C_HEADER(wchar.h)
|
|
- # endif
|
|
|
|
# endif /* WINCE */
|
|
|
|
--- 28,34 ----
|