Explorar o código

libobs: Fix connect() redefinition on MSVC

Tommy Vercetti %!s(int64=4) %!d(string=hai) anos
pai
achega
1f4c6fd154
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  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>