Fix macOS export plugin build without regex module.
This commit is contained in:
@@ -35,12 +35,9 @@
|
||||
|
||||
#include "core/io/file_access.h"
|
||||
#include "core/object/ref_counted.h"
|
||||
#include "modules/modules_enabled.gen.h" // For regex.
|
||||
|
||||
#include "macho.h"
|
||||
|
||||
#ifdef MODULE_REGEX_ENABLED
|
||||
|
||||
class LipO : public RefCounted {
|
||||
struct FatArch {
|
||||
uint32_t cputype;
|
||||
@@ -71,6 +68,4 @@ public:
|
||||
~LipO();
|
||||
};
|
||||
|
||||
#endif // MODULE_REGEX_ENABLED
|
||||
|
||||
#endif // MACOS_LIPO_H
|
||||
|
||||
Reference in New Issue
Block a user