epoc32/include/stdapis/stlportv5/stl/_cstdlib.h
branchSymbian3
changeset 4 837f303aceeb
parent 3 e1b950c65cb4
     1.1 --- a/epoc32/include/stdapis/stlportv5/stl/_cstdlib.h	Wed Mar 31 12:27:01 2010 +0100
     1.2 +++ b/epoc32/include/stdapis/stlportv5/stl/_cstdlib.h	Wed Mar 31 12:33:34 2010 +0100
     1.3 @@ -121,13 +121,13 @@
     1.4  #if !defined (__HP_aCC) || (__HP_aCC < 30000)
     1.5  
     1.6  //MSVC starting with .Net 2003 already define all math functions in global namespace:
     1.7 -#  if !defined (_STLP_MSVC_LIB) || (_STLP_MSVC_LIB < 1310) || defined(UNDER_CE)
     1.8 +#  if ((!defined (_STLP_MSVC_LIB) || (_STLP_MSVC_LIB < 1310) || defined(UNDER_CE)) && !(defined(__SYMBIAN32__) && defined(__GCCXML__)))
     1.9  inline long abs(long __x) { return _STLP_VENDOR_CSTD::labs(__x); }
    1.10  #  endif
    1.11  
    1.12  /** VC since version 8 has this, the platform SDK and CE SDKs hanging behind. */
    1.13 -#  if !defined (_STLP_MSVC_LIB) || (_STLP_MSVC_LIB < 1400) || defined (_STLP_USING_PLATFORM_SDK_COMPILER) || defined(UNDER_CE)
    1.14 -inline _STLP_VENDOR_CSTD::ldiv_t div(long __x, long __y) { return _STLP_VENDOR_CSTD::ldiv(__x, __y); }
    1.15 +#  if ((!defined (_STLP_MSVC_LIB) || (_STLP_MSVC_LIB < 1400) || defined (_STLP_USING_PLATFORM_SDK_COMPILER) || defined(UNDER_CE)) && !(defined(__SYMBIAN32__) && defined(__GCCXML__)))
    1.16 +inline _STLP_VENDOR_CSTD::ldiv_t div(long __x, long __y) { return _STLP_VENDOR_CSTD::ldiv(__x, __y);}
    1.17  #  endif
    1.18  
    1.19  #endif