added more X11 code related to GC handling
This commit is contained in:
@ -92,6 +92,7 @@
|
||||
|
||||
# include <unistd.h>
|
||||
# include <fcntl.h>
|
||||
# include <locale.h>
|
||||
|
||||
# if defined(USE_THREAD)
|
||||
# include <pthread.h>
|
||||
@ -1758,6 +1759,11 @@ int main (int argc, char* argv[])
|
||||
}
|
||||
#endif
|
||||
|
||||
if (!setlocale (LC_ALL, ""))
|
||||
{
|
||||
fprintf (stderr, "Warning: setlocale() error. carrying on.\n");
|
||||
}
|
||||
|
||||
memset (&vmprim, 0, MOO_SIZEOF(vmprim));
|
||||
vmprim.dl_open = dl_open;
|
||||
vmprim.dl_close = dl_close;
|
||||
|
Reference in New Issue
Block a user