1
0
Эх сурвалжийг харах

obs-outputs: Remove WIN32_LEAN_AND_MEAN define

It should already be defined near the Windows.h include.
jpark37 4 жил өмнө
parent
commit
e581802812

+ 0 - 4
plugins/obs-outputs/flv-mux.c

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

+ 0 - 4
plugins/obs-outputs/ftl-stream.c

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

+ 0 - 5
plugins/obs-outputs/obs-outputs.c

@@ -1,13 +1,8 @@
-#ifdef _MSC_VER
-#define WIN32_LEAN_AND_MEAN
-#endif
-
 #include <obs-module.h>
 #include <obs-module.h>
 
 
 #include "obs-outputs-config.h"
 #include "obs-outputs-config.h"
 
 
 #ifdef _WIN32
 #ifdef _WIN32
-#define WIN32_LEAN_AND_MEAN
 #include <winsock2.h>
 #include <winsock2.h>
 #include <mbedtls/threading.h>
 #include <mbedtls/threading.h>
 #endif
 #endif

+ 0 - 4
plugins/obs-outputs/rtmp-stream.c

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

+ 0 - 4
plugins/obs-outputs/rtmp-windows.c

@@ -1,7 +1,3 @@
-#ifdef _MSC_VER
-#define WIN32_LEAN_AND_MEAN
-#endif
-
 #ifdef _WIN32
 #ifdef _WIN32
 #include "rtmp-stream.h"
 #include "rtmp-stream.h"
 #include <winsock2.h>
 #include <winsock2.h>