Dear All,
Hello~
I add some enumeration variables for building on Windows.
And.. One question,
nl_langinfo(CODESET) gives return value properly on MinGW?
Sincerely,
Shinwoo Kim.
Index: src/lib/evil_langinfo.c
===================================================================
--- src/lib/evil_langinfo.c (revision 60423)
+++ src/lib/evil_langinfo.c (working copy)
@@ -8,6 +8,12 @@
#ifndef __MINGW32CE__
static char *
+__nl_get_time_item(nl_item __item)
+{
+ return NULL;
+}
+
+static char *
replace(char *prev, char *value)
{
if (!value)
@@ -48,6 +54,12 @@
}
}
+ if (index > __NL_LANGINFO_TIME_FIRST && index < __NL_LANGINFO_TIME_LAST)
+ {
+ result = __nl_get_time_item(index);
+ if (result) return result;
+ }
+
return nothing;
}
Index: src/lib/evil_langinfo.h
===================================================================
--- src/lib/evil_langinfo.h (revision 60423)
+++ src/lib/evil_langinfo.h (working copy)
@@ -21,6 +21,24 @@
_NL_CTYPE_CODESET = __NL_ITEM( LC_CTYPE, 0 ),
_NL_NUMERIC_RADIXCHAR = __NL_ITEM( LC_NUMERIC, 0 ),
+ __NL_LANGINFO_TIME_FIRST,
+ ABMON_1,
+ ABMON_2,
+ ABMON_3,
+ ABMON_4,
+ ABMON_5,
+ ABMON_6,
+ ABMON_7,
+ ABMON_8,
+ ABMON_9,
+ ABMON_10,
+ ABMON_11,
+ ABMON_12,
+ AM_STR,
+ PM_STR,
+ D_FMT,
+ __NL_LANGINFO_TIME_LAST,
+
/*
* Dummy entry, to terminate the list.
*/
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel