add FreeBSD support (#752)

Signed-off-by: Lucas Francesco <uramekus@cirno.dev>
This commit is contained in:
Francesco 2020-08-21 11:23:01 -03:00 committed by GitHub
parent fbc3526c58
commit 2210ca22a9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -96,7 +96,7 @@
#define KEY_KPADD KEY_KPPLUS #define KEY_KPADD KEY_KPPLUS
#define KEY_KPSUB KEY_KPMINUS #define KEY_KPSUB KEY_KPMINUS
#elif defined(__linux__) #elif defined(__linux__) || defined(__FreeBSD__)
#define KEY_ESCAPE 0x9 #define KEY_ESCAPE 0x9
#define KEY_F1 0x43 #define KEY_F1 0x43
#define KEY_F2 0x44 #define KEY_F2 0x44

View file

@ -1164,7 +1164,7 @@ int main(const int argc, const char *argv[])
delete(vulkanExample); delete(vulkanExample);
return 0; return 0;
} }
#elif defined(__linux__) #elif defined(__linux__) || defined(__FreeBSD__)
// Linux entry point // Linux entry point
VulkanExample *vulkanExample; VulkanExample *vulkanExample;