uint16_t u;
if (mpm_algo != NULL) {
+#if __BYTE_ORDER == __BIG_ENDIAN
+ if (strcmp(mpm_algo, "ac-ks") == 0) {
+ SCLogError(SC_ERR_INVALID_YAML_CONF_ENTRY, "ac-ks does "
+ "not work on big endian systems at this time.");
+ exit(EXIT_FAILURE);
+ }
+#endif
if (strcmp("auto", mpm_algo) == 0) {
goto done;
}
#include "suricata-common.h"
#include "suricata.h"
+#if __BYTE_ORDER == __LITTLE_ENDIAN
+
#include "detect.h"
#include "detect-parse.h"
#include "detect-engine.h"
#endif
}
+#else /* we're big endian */
+
+void MpmACTileRegister(void)
+{
+ /* no-op on big endian */
+}
+
+#endif /* little endian check */