fix build under linux

This commit is contained in:
Vadim Lopatin 2015-04-09 11:15:00 +03:00
parent 576d8dbb3b
commit 931e26692d
2 changed files with 2 additions and 2 deletions

View File

@ -1357,7 +1357,7 @@ version (Windows) {
char* lpCmdLine, int nCmdShow);
} else {
// to remove import
extern int DLANGUImain(string[] args);
extern(C) int DLANGUImain(string[] args);
}
/// put "mixin APP_ENTRY_POINT;" to main module of your dlangui based app

View File

@ -1249,7 +1249,7 @@ version (Windows) {
}
} else {
int DLANGUImain(string[] args)
extern(C) int DLANGUImain(string[] args)
{
initLogs();