1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Added preliminary support for FreeBSD

This commit is contained in:
Tom Poole 2021-02-06 18:15:10 +00:00
parent 241bb8d430
commit 79fbde7099
79 changed files with 507 additions and 242 deletions

View file

@ -49,7 +49,7 @@
#import <IOKit/hid/IOHIDKeys.h>
#import <IOKit/pwr_mgt/IOPMLib.h>
#elif JUCE_LINUX
#elif JUCE_LINUX || JUCE_BSD
#include <unistd.h>
#endif
@ -85,7 +85,7 @@
#include "native/juce_win32_WinRTWrapper.cpp"
#endif
#elif JUCE_LINUX
#elif JUCE_LINUX || JUCE_BSD
#include "native/juce_linux_Messaging.cpp"
#elif JUCE_ANDROID

View file

@ -90,7 +90,7 @@
#include "interprocess/juce_ConnectedChildProcess.h"
#include "interprocess/juce_NetworkServiceDiscovery.h"
#if JUCE_LINUX
#if JUCE_LINUX || JUCE_BSD
#include "native/juce_linux_EventLoop.h"
#endif

View file

@ -183,7 +183,7 @@ StringArray JUCE_CALLTYPE JUCEApplicationBase::getCommandLineParameterArray()
extern void initialiseNSApplication();
#endif
#if JUCE_LINUX && JUCE_MODULE_AVAILABLE_juce_gui_extra && (! defined(JUCE_WEB_BROWSER) || JUCE_WEB_BROWSER)
#if (JUCE_LINUX || JUCE_BSD) && JUCE_MODULE_AVAILABLE_juce_gui_extra && (! defined(JUCE_WEB_BROWSER) || JUCE_WEB_BROWSER)
extern int juce_gtkWebkitMain (int argc, const char* argv[]);
#endif
@ -228,7 +228,7 @@ int JUCEApplicationBase::main (int argc, const char* argv[])
initialiseNSApplication();
#endif
#if JUCE_LINUX && JUCE_MODULE_AVAILABLE_juce_gui_extra && (! defined(JUCE_WEB_BROWSER) || JUCE_WEB_BROWSER)
#if (JUCE_LINUX || JUCE_BSD) && JUCE_MODULE_AVAILABLE_juce_gui_extra && (! defined(JUCE_WEB_BROWSER) || JUCE_WEB_BROWSER)
if (argc >= 2 && String (argv[1]) == "--juce-gtkwebkitfork-child")
return juce_gtkWebkitMain (argc, argv);
#endif