[constants] max country code length
This commit is contained in:
@@ -10,7 +10,10 @@
|
|||||||
#define LANGUAGE_SEPARATOR_CHAR "|"
|
#define LANGUAGE_SEPARATOR_CHAR "|"
|
||||||
#define LANGUAGE_SEPARATOR_CHAR_LEN strlen(LANGUAGE_SEPARATOR_CHAR)
|
#define LANGUAGE_SEPARATOR_CHAR_LEN strlen(LANGUAGE_SEPARATOR_CHAR)
|
||||||
|
|
||||||
|
// Supports ISO 3166 alpha 2 and alpha 3 codes
|
||||||
|
#define MAX_COUNTRY_CODE_LEN 4
|
||||||
|
|
||||||
// Supports ISO 639 alpha 2 and alpha 3 codes
|
// Supports ISO 639 alpha 2 and alpha 3 codes
|
||||||
#define MAX_LANGUAGE_LEN 4
|
#define MAX_LANGUAGE_LEN 4
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user