mirror of https://github.com/buggins/dlangui.git
fix build under linux
This commit is contained in:
parent
576d8dbb3b
commit
931e26692d
|
@ -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
|
||||
|
|
|
@ -1249,7 +1249,7 @@ version (Windows) {
|
|||
}
|
||||
} else {
|
||||
|
||||
int DLANGUImain(string[] args)
|
||||
extern(C) int DLANGUImain(string[] args)
|
||||
{
|
||||
|
||||
initLogs();
|
||||
|
|
Loading…
Reference in New Issue