ImHex/lib/libimhex/include/hex/helpers
StarrFox 25ddaa08dc
build: Fix building with capstone < 5 (#1323)
<!--
Please provide as much information as possible about what your PR aims
to do.
PRs with no description will most likely be closed until more
information is provided.
If you're planing on changing fundamental behaviour or add big new
features, please open a GitHub Issue first before starting to work on
it.
If it's not something big and you still want to contact us about it,
feel free to do so !
-->

### Problem description
<!-- Describe the bug that you fixed/feature request that you
implemented, or link to an existing issue describing it -->
This might fix building with capstone 4 as discussed in
https://discord.com/channels/789833418631675954/1155669027306340393/1155669027306340393

### Implementation description
<!-- Explain what you did to correct the problem -->
moves the max definition inside the if statement that checks for
capstone 5
2023-09-25 21:52:28 +02:00
..
binary_pattern.hpp feat: Added support for automatically loading patterns using binary pattern magic 2023-05-22 00:01:58 +02:00
concepts.hpp patterns: Updated to new API 2023-04-18 10:06:47 +02:00
crypto.hpp fix: CRC8 hashing algorithm displaying 16 bits result 2023-01-25 00:06:48 +01:00
disassembler.hpp build: Fix building with capstone < 5 (#1323) 2023-09-25 21:52:28 +02:00
encoding_file.hpp impr: Display encoding types in header of hex editor 2023-07-11 00:04:26 +02:00
fmt.hpp impr: Cleanup main 2023-07-22 21:30:22 +02:00
fs.hpp feat: Added context menu with right-clicking on file provider (#1084) 2023-05-21 13:21:53 +02:00
http_requests.hpp fix: Remove remannts of #680 bugfix (#1282) 2023-09-02 22:59:09 +02:00
intrinsics.hpp nodes: Added support for nested, shareable, custom data processor nodes 2023-02-09 23:07:04 +01:00
literals.hpp sys: Added clang-format file, formatted entire project 2022-01-24 20:53:17 +01:00
logger.hpp fix: ImHex not starting at all anymore when launched through the explorer 2023-09-03 14:07:47 +02:00
magic.hpp patterns: Disallow `application/octet-stream` to be used as MIME type 2023-01-09 08:38:19 +01:00
opengl.hpp patterns: Added rotation and scale sliders to 3D visualizer 2023-02-16 23:24:24 +01:00
patches.hpp feat: Added better error messages for generating and importing ips patches 2023-01-25 10:38:04 +01:00
stacktrace.hpp feat: Added stacktrace printing on crashes (#892) 2023-01-17 21:38:56 +01:00
tar.hpp feat: Display detailed error message when loading of project fails (#1135) 2023-06-21 20:07:36 +02:00
types.hpp feat: Further improve process memory provider 2023-01-01 12:26:27 +01:00
utils.hpp fix: Find view replace and hex editor paste logic being wrong 2023-05-28 14:30:33 +02:00
utils_linux.hpp impr: Use execvp() instead of system() on Linux (#1170) 2023-07-05 20:50:46 +02:00
utils_macos.hpp feat: Add a native error message when glfw window creation fails (#1104) 2023-05-27 17:45:41 +02:00