Explorar o código

rtmp-services: Always check service updates on non-windows

This is a workaround for build server cmake build issues on mac/linux.
In the future, the build servers should specify the cmake variable.
jp9000 %!s(int64=8) %!d(string=hai) anos
pai
achega
8b315186a7
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      plugins/rtmp-services/rtmp-services-main.c

+ 1 - 1
plugins/rtmp-services/rtmp-services-main.c

@@ -48,7 +48,7 @@ bool obs_module_load(void)
 {
 	init_twitch_data();
 
-#if CHECK_FOR_SERVICE_UPDATES
+#if !defined(_WIN32) || CHECK_FOR_SERVICE_UPDATES
 	char *local_dir = obs_module_file("");
 	char *cache_dir = obs_module_config_path("");
 	struct dstr module_name = {0};