ソースを参照

libobs: Fix connect() redefinition on MSVC

Tommy Vercetti 4 年 前
コミット
1f4c6fd154
1 ファイル変更4 行追加0 行削除
  1. 4 0
      libobs/obs-hotkey-name-map.c

+ 4 - 0
libobs/obs-hotkey-name-map.c

@@ -15,6 +15,10 @@
     along with this program.  If not, see <http://www.gnu.org/licenses/>.
 ******************************************************************************/
 
+#ifdef _MSC_VER
+#define WIN32_LEAN_AND_MEAN
+#endif
+
 #include <string.h>
 #include <assert.h>