2008-03-25  Farid Zaripov  <farid_zaripov@epam.com>
2008-03-25  Farid Zaripov  <farid_zaripov@epam.com>

	STDCXX-792
	* src/locale_body.cpp (_C_manage): Cast ginit to non-volatile to use the non-template 
	version of the __rw_atomic_preincrement() if available.
	Declare static variable ginit as int instead of long because the all native atomic
	functions are defined for int type and the overloads for long type just calls overload
	for int type on platforms where sizeof (int) == sizeof (long).


git-svn-id: 8ce9432b95a2a271c6c279131eb1bb968a8ee7fb@640746 13f79535-47bb-0310-9956-ffa450edef68

pathscale/stdcxx,pathscale/stdcxx,pathscale/stdcxx,pathscale/stdcxx,pathscale/stdcxx