浏览代码

libobs: Add support for FreeBSD to gs_window

Enable the X11 specific members in the gs_window struct when on FreeBSD.
Kris Moore 10 年之前
父节点
当前提交
9c483aae10
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      libobs/graphics/graphics.h

+ 1 - 1
libobs/graphics/graphics.h

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