Commit dcd9bbe9afd9735edbeba869e3a0ffb564e17fca

  • avatar
  • complement <complement @01b27279-081b-0410…d9d9e0fb0389.>
  • Mon Jan 14 22:37:36 CET 2008
define _POSIX_C_SOURCE 199506; remove obsolete and wrong workaround for Solaris and Darwin in gcc.mak

git-svn-id: https://stlport.svn.sourceforge.net/svnroot/stlport/branches/STLPORT_5_1/STLport@3392 01b27279-081b-0410-8cf9-d9d9e0fb0389
  
113113CFLAGS = $(PTHREAD) $(OPT)
114114# CXXFLAGS = $(PTHREAD) -nostdinc++ -fexceptions -fident $(OPT)
115115CXXFLAGS = $(PTHREAD) -fexceptions -fident $(OPT)
116# This is here due to bug in GNU make 3.79.1 from Solaris build:
117stldbg-static: CPPFLAGS = -D_STLP_DEBUG ${CPPFLAGS}
118stldbg-shared: CPPFLAGS = -D_STLP_DEBUG ${CPPFLAGS}
119stldbg-static-dep: CPPFLAGS = -D_STLP_DEBUG ${CPPFLAGS}
120stldbg-shared-dep: CPPFLAGS = -D_STLP_DEBUG ${CPPFLAGS}
121116endif
122117
123118ifeq ($(OSNAME),linux)
149149DEFS += -D_REENTRANT
150150endif
151151CXXFLAGS = -fexceptions $(OPT)
152# This is here due to bug in GNU make 3.79 from MacOS build:
153stldbg-static : CPPFLAGS = -D_STLP_DEBUG ${CPPFLAGS}
154stldbg-shared : CPPFLAGS = -D_STLP_DEBUG ${CPPFLAGS}
155stldbg-static-dep : CPPFLAGS = -D_STLP_DEBUG ${CPPFLAGS}
156stldbg-shared-dep : CPPFLAGS = -D_STLP_DEBUG ${CPPFLAGS}
157152endif
158153
159154ifeq ($(OSNAME),hp-ux)
  
12008-01-15 Petr Ovtchenkov <complement@users.sourceforge.net>
2
3 * stlport/stl/config/_hpux.h: define _POSIX_C_SOURCE 199506;
4
5 * build/Makefiles/gmake/gcc.mak: remove obsolete and wrong workaround
6 for Solaris and Darwin; suggested by KBac, patch #1869229.
7
182008-01-13 Francois Dumont <dums@users.sourceforge.net>
29
310 * src/fstream.cpp, stlport/stl/_fstream.c: Complete bug #1854345
  
99# define _STLP_NO_LONG_DOUBLE
1010#endif
1111
12#ifndef _POSIX_C_SOURCE
13# define _POSIX_C_SOURCE 199506
14#endif
15
1216#endif /* __stl_config__hpux_h */