summaryrefslogtreecommitdiff
path: root/platform/macos/export/lipo.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-10-13 09:05:42 +0200
committerRémi Verschelde <rverschelde@gmail.com>2022-10-13 09:05:42 +0200
commitfd4572cc45506f901e68a2cb485f44ffd01b937e (patch)
tree9dcf9fd7d88c5e6bc32f7c9542380ee8f51d2e75 /platform/macos/export/lipo.cpp
parent367a9b805621a3b0934342e08a2607b81bb87bbe (diff)
parentdac20475296a87c09bd9d665b30b22d35de8d990 (diff)
Merge pull request #67340 from bruvzg/mac_export_min
Fix macOS export plugin build without regex module.
Diffstat (limited to 'platform/macos/export/lipo.cpp')
-rw-r--r--platform/macos/export/lipo.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/platform/macos/export/lipo.cpp b/platform/macos/export/lipo.cpp
index 82baf18c52..76d4eee418 100644
--- a/platform/macos/export/lipo.cpp
+++ b/platform/macos/export/lipo.cpp
@@ -28,12 +28,8 @@
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
-#include "modules/modules_enabled.gen.h" // For regex.
-
#include "lipo.h"
-#ifdef MODULE_REGEX_ENABLED
-
bool LipO::is_lipo(const String &p_path) {
Ref<FileAccess> fb = FileAccess::open(p_path, FileAccess::READ);
ERR_FAIL_COND_V_MSG(fb.is_null(), false, vformat("LipO: Can't open file: \"%s\".", p_path));
@@ -232,5 +228,3 @@ void LipO::close() {
LipO::~LipO() {
close();
}
-
-#endif // MODULE_REGEX_ENABLED