OpenBSD does not define CODESET.

nl_langinfo() returns a pointer to an empty string if item is invalid.
So just let the strcmp fall through.


SVN revision: 12262
This commit is contained in:
vacuum 2004-11-25 17:40:42 +00:00 committed by vacuum
parent bcfa090341
commit f7207f4c34
1 changed files with 8 additions and 0 deletions

View File

@ -10,6 +10,14 @@ static int _ecore_init_count = 0;
int _ecore_fps_debug = 0;
#endif
/** OpenBSD does not define CODESET
* FIXME ??
*/
#ifndef CODESET
#define CODESET "INVALID"
#endif
/**
* Set up connections, signal handlers, sockets etc.
* @return 1 or greater on success, 0 otherwise