chore: initial commit

This commit is contained in:
fallenoak 2023-01-02 13:17:18 -06:00
commit 70b00c5c38
No known key found for this signature in database
GPG key ID: 7628F8E61AEA070D
965 changed files with 264882 additions and 0 deletions

8
src/os/Compat.hpp Normal file
View file

@ -0,0 +1,8 @@
#ifndef OS_COMPAT_HPP
#define OS_COMPAT_HPP
#if defined(WHOA_SYSTEM_MAC)
#include "os/compat/Mac.hpp"
#endif
#endif

12
src/os/compat/Mac.hpp Normal file
View file

@ -0,0 +1,12 @@
#ifndef OS_COMPAT_MAC_HPP
#define OS_COMPAT_MAC_HPP
#ifdef __OBJC__
#include <AppKit/AppKit.h>
#if WHOA_SYSTEM_VERSION < WHOA_MACOS_10_12
#define NSEventTypeApplicationDefined NSApplicationDefined
#endif
#endif
#endif