build fixes for LaunchAPPL client

This commit is contained in:
Wolfgang Thaller 2021-12-07 20:10:37 +01:00
parent b6df9e8fda
commit e980af9b91
2 changed files with 5 additions and 9 deletions

View File

@ -1,11 +1,10 @@
#define ResType MacResType #ifdef __powerpc
#include <ApplicationServices/ApplicationServices.h>
#undef ResType
#if TARGET_CPU_PPC
#include "Classic.h" #include "Classic.h"
#include "Launcher.h" #include "Launcher.h"
#define ResType MacResType
#include <ApplicationServices/ApplicationServices.h>
#undef ResType
namespace po = boost::program_options; namespace po = boost::program_options;

View File

@ -9,10 +9,7 @@
#include "Launcher.h" #include "Launcher.h"
#if defined(__APPLE__) #if defined(__APPLE__)
# define ResType MacResType # ifdef __powerpc
# include <ApplicationServices/ApplicationServices.h>
# undef ResType
# if TARGET_CPU_PPC
# include "Classic.h" # include "Classic.h"
# endif # endif
# include "Carbon.h" # include "Carbon.h"