This commit is contained in:
parent
af3f569b0a
commit
4a0059b2f1
2 changed files with 3 additions and 3 deletions
|
|
@ -1,6 +1,6 @@
|
|||
#include <Mw/Milsko.h>
|
||||
|
||||
void MwLLNoCocoaErrorMessage() {
|
||||
void MwLLNoCocoaErrorMessage(void) {
|
||||
NSAlert* alert = [[NSAlert alloc] init];
|
||||
[alert setMessageText:@"Milsko applications currently requires XQuartz or cocoa-way. PRs are welcome for anyone who wants to finish the Cocoa backend (prefarably in Objective-C)"];
|
||||
[alert addButtonWithTitle:@"Ok"];
|
||||
|
|
|
|||
|
|
@ -989,8 +989,8 @@ int MwLibraryInit(void) {
|
|||
}
|
||||
|
||||
#ifdef __APPLE__
|
||||
void MwNoCocoaErrorMessage();
|
||||
MwNoCocoaErrorMessage();
|
||||
void MwLLNoCocoaErrorMessage(void);
|
||||
MwLLNoCocoaErrorMessage();
|
||||
#else
|
||||
printf("[WARNING] No suitable GUI backend found! Enabled:"
|
||||
#ifdef USE_COCOA
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue