libobs: Add support for FreeBSD to gs_window

Enable the X11 specific members in the gs_window struct when on FreeBSD.
master
Kris Moore 2015-05-01 22:05:00 +02:00 committed by fryshorts
parent d998c16724
commit 9c483aae10
1 changed files with 1 additions and 1 deletions

View File

@ -426,7 +426,7 @@ struct gs_window {
void *hwnd; void *hwnd;
#elif defined(__APPLE__) #elif defined(__APPLE__)
__unsafe_unretained id view; __unsafe_unretained id view;
#elif defined(__linux__) #elif defined(__linux__) || defined(__FreeBSD__)
/* I'm not sure how portable defining id to uint32_t is. */ /* I'm not sure how portable defining id to uint32_t is. */
uint32_t id; uint32_t id;
void* display; void* display;