mirror of
https://github.com/QuasarApp/LIEF.git
synced 2025-04-26 20:34:32 +00:00
Fix Windows issues
This commit is contained in:
parent
ec9115a3d1
commit
53ce0cd7d4
@ -23,6 +23,11 @@
|
||||
|
||||
#include "pyMachO.hpp"
|
||||
|
||||
#ifdef uuid_t
|
||||
#pragma message("Windows #define uuid_t, undefine it for this file.")
|
||||
#undef uuid_t
|
||||
#endif
|
||||
|
||||
namespace LIEF {
|
||||
namespace MachO {
|
||||
|
||||
|
@ -22,6 +22,8 @@
|
||||
#include "LIEF/PE/signature/Signature.hpp"
|
||||
#include "LIEF/PE/signature/SignatureParser.hpp"
|
||||
|
||||
#define LIEF_PE_FORCE_UNDEF
|
||||
#include "LIEF/PE/undef.h"
|
||||
#include "pyPE.hpp"
|
||||
|
||||
namespace LIEF {
|
||||
|
@ -13,7 +13,10 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include "pyPE.hpp"
|
||||
#define LIEF_PE_FORCE_UNDEF
|
||||
#include "LIEF/PE/undef.h"
|
||||
#include "LIEF/PE/Structures.hpp"
|
||||
#include "LIEF/PE/EnumToString.hpp"
|
||||
#include "enums_wrapper.hpp"
|
||||
|
@ -13,6 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include "LIEF/PE/utils.hpp"
|
||||
#include "LIEF/MachO/utils.hpp"
|
||||
#include "LIEF/ELF/utils.hpp"
|
||||
@ -22,6 +23,8 @@
|
||||
#include "LIEF/VDEX.hpp"
|
||||
#include "LIEF/ART.hpp"
|
||||
|
||||
#define LIEF_PE_FORCE_UNDEF
|
||||
#include "LIEF/PE/undef.h"
|
||||
#include "pyLIEF.hpp"
|
||||
|
||||
void init_utils_functions(py::module& m) {
|
||||
|
@ -496,10 +496,4 @@ struct pe_exception_entry_arm {
|
||||
uint32_t data;
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user