Browse Source

obs-scripting: Fix compile when python is not found

Exeldro 3 years ago
parent
commit
41d56fd0a7
1 changed files with 5 additions and 0 deletions
  1. 5 0
      deps/obs-scripting/obs-scripting.c

+ 5 - 0
deps/obs-scripting/obs-scripting.c

@@ -458,4 +458,9 @@ bool obs_scripting_python_runtime_linked(void)
 {
 	return (bool)true;
 }
+
+void obs_scripting_python_version(char *version, size_t version_length)
+{
+	version[0] = 0;
+}
 #endif