浏览代码

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 8 年之前
父节点
当前提交
8b315186a7
共有 1 个文件被更改,包括 1 次插入1 次删除
  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();
 	init_twitch_data();
 
 
-#if CHECK_FOR_SERVICE_UPDATES
+#if !defined(_WIN32) || CHECK_FOR_SERVICE_UPDATES
 	char *local_dir = obs_module_file("");
 	char *local_dir = obs_module_file("");
 	char *cache_dir = obs_module_config_path("");
 	char *cache_dir = obs_module_config_path("");
 	struct dstr module_name = {0};
 	struct dstr module_name = {0};