Ticket #56662: 0001-WIP-Fix-compilation-on-older-macOS.patch

File 0001-WIP-Fix-compilation-on-older-macOS.patch, 863 bytes (added by ckandeler, 3 years ago)

Patch

  • src/lib/qtprofilesetup/qtprofilesetup.cpp

    From 1d69fad1ef46f28b8a1552504c1350a8b4e0989d Mon Sep 17 00:00:00 2001
    From: Christian Kandeler <christian.kandeler@qt.io>
    Date: Tue, 3 Jul 2018 15:53:30 +0200
    Subject: [PATCH] WIP: Fix compilation on older macOS
    
    Change-Id: I05d483a2d05a2cf8dc58ac90c21f8dc4019da6ec
    ---
     src/lib/qtprofilesetup/qtprofilesetup.cpp | 2 +-
     1 file changed, 1 insertion(+), 1 deletion(-)
    
    diff --git a/src/lib/qtprofilesetup/qtprofilesetup.cpp b/src/lib/qtprofilesetup/qtprofilesetup.cpp
    index adeeef7bc..1f69ea504 100644
    a b  
    6868#include <mach/machine.h>
    6969#include <mach-o/fat.h>
    7070#include <mach-o/loader.h>
    71 #if __MAC_OS_X_VERSION_MAX_ALLOWED < 101200
     71#ifndef FAT_MAGIC_64
    7272#define FAT_MAGIC_64 0xcafebabf
    7373#define FAT_CIGAM_64 0xbfbafeca
    7474struct fat_arch_64 {