]> pd.if.org Git - pdclib/blobdiff - internals/_PDCLIB_locale.h
Reworked errno. Added values from Linux / Windows. Added error texts. Some errno...
[pdclib] / internals / _PDCLIB_locale.h
index 9644eb4b19c3b836b43505d2358f999093eb3799..4595e9b82d5ec074ab1be679a30955c36f9ff28e 100644 (file)
@@ -82,8 +82,8 @@ typedef struct _PDCLIB_wcinfo
 } _PDCLIB_wcinfo_t;
 
 struct _PDCLIB_locale {
-    const _PDCLIB_charcodec_t    _Codec;
-    struct lconv                 _Conv;
+    const struct _PDCLIB_charcodec_t * _Codec;
+    struct lconv                       _Conv;
 
     /* ctype / wctype */
     /* XXX: Maybe re-evaluate constness of these later on? */
@@ -92,7 +92,7 @@ struct _PDCLIB_locale {
     const _PDCLIB_ctype_t       *_CType; 
 
     /* perror/strerror */
-    char                        *_ErrnoStr[_PDCLIB_ERRNO_MAX];
+    const char * const           _ErrnoStr[_PDCLIB_ERRNO_MAX];
 };
 
 extern const _PDCLIB_wcinfo_t _PDCLIB_wcinfo[];