[CRT]
authorAmine Khaldi <amine.khaldi@reactos.org>
Sun, 25 May 2014 10:47:48 +0000 (10:47 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Sun, 25 May 2014 10:47:48 +0000 (10:47 +0000)
* Use lconv and define MSVCRT_lconv to it.

svn path=/trunk/; revision=63438

reactos/lib/sdk/crt/include/internal/locale.h

index 148bea6..23c618f 100644 (file)
@@ -18,7 +18,7 @@ typedef struct MSVCRT_threadlocaleinfostruct {
     int *lconv_intl_refcount;
     int *lconv_num_refcount;
     int *lconv_mon_refcount;
-    struct MSVCRT_lconv *lconv;
+    struct lconv *lconv;
     int *ctype1_refcount;
     unsigned short *ctype1;
     const unsigned short *pctype;
@@ -37,26 +37,7 @@ typedef struct MSVCRT_threadmbcinfostruct {
     char mbcasemap[256];
 } MSVCRT_threadmbcinfo;
 
-struct MSVCRT_lconv {
-    char* decimal_point;
-    char* thousands_sep;
-    char* grouping;
-    char* int_curr_symbol;
-    char* currency_symbol;
-    char* mon_decimal_point;
-    char* mon_thousands_sep;
-    char* mon_grouping;
-    char* positive_sign;
-    char* negative_sign;
-    char int_frac_digits;
-    char frac_digits;
-    char p_cs_precedes;
-    char p_sep_by_space;
-    char n_cs_precedes;
-    char n_sep_by_space;
-    char p_sign_posn;
-    char n_sign_posn;
-};
+#define MSVCRT_lconv lconv
 
 typedef struct MSVCRT_threadlocaleinfostruct *MSVCRT_pthreadlocinfo;
 typedef struct MSVCRT_threadmbcinfostruct *MSVCRT_pthreadmbcinfo;