stdcpp/src/c_locale.c
changeset 0 e4d67989cc36
equal deleted inserted replaced
-1:000000000000 0:e4d67989cc36
       
     1 /*
       
     2  * © Portions copyright (c) 2006-2007 Nokia Corporation.  All rights reserved.
       
     3  * Copyright (c) 1999
       
     4  * Silicon Graphics Computer Systems, Inc.
       
     5  *
       
     6  * Copyright (c) 1999 
       
     7  * Boris Fomitchev
       
     8  *
       
     9  * This material is provided "as is", with absolutely no warranty expressed
       
    10  * or implied. Any use is at your own risk.
       
    11  *
       
    12  * Permission to use or copy this software for any purpose is hereby granted 
       
    13  * without fee, provided the above notices are retained on all copies.
       
    14  * Permission to modify the code and to distribute modified code is granted,
       
    15  * provided the above notices are retained, and a notice that the code was
       
    16  * modified is included with the above copyright notice.
       
    17  *
       
    18  */ 
       
    19 
       
    20 # include "stlport_prefix.h" 
       
    21 
       
    22 # include <stdlib.h>
       
    23 
       
    24 # ifdef _STLP_REAL_LOCALE_IMPLEMENTED
       
    25 #  include <limits.h>
       
    26 #  include "c_locale.h"
       
    27 #ifdef __SYMBIAN32__
       
    28 #  include "c_locale_glibc/c_locale_glibc.c"
       
    29 #else
       
    30 #  if defined (WIN32) || defined (_WIN32)
       
    31 #   include "c_locale_win32/c_locale_win32.c"
       
    32 #  elif defined (_STLP_USE_GLIBC) && ! defined (__CYGWIN__)
       
    33 #   if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)  
       
    34 #    include "c_locale_glibc/c_locale_glibc2.c"
       
    35 #   else
       
    36 #    include "c_locale_glibc/c_locale_glibc.c"
       
    37 #   endif
       
    38 #  elif defined __ISCPP__
       
    39 #   include "c_locale_is/c_locale_is.cpp"
       
    40 #  endif
       
    41 # endif
       
    42 # endif