mirror of
https://github.com/autc04/Retro68.git
synced 2025-01-13 01:30:55 +00:00
Make things work with Universal Interfaces 3.0
This commit is contained in:
parent
48d530bf49
commit
0ecc07538f
@ -21,6 +21,15 @@
|
||||
#include <Dialogs.h>
|
||||
#include <Fonts.h>
|
||||
|
||||
#ifndef TARGET_API_MAC_CARBON
|
||||
/* NOTE: this is checking whether the Dialogs.h we use *knows* about Carbon,
|
||||
not whether we are actually compiling for Cabon.
|
||||
If Dialogs.h is older, we add a define to be able to use the new name
|
||||
for NewUserItemUPP, which used to be NewUserItemProc. */
|
||||
|
||||
#define NewUserItemUPP NewUserItemProc
|
||||
#endif
|
||||
|
||||
pascal void ButtonFrameProc(DialogRef dlg, DialogItemIndex itemNo)
|
||||
{
|
||||
DialogItemType type;
|
||||
|
@ -156,7 +156,7 @@ for f in Types.h Memory.h Windows.h Errors.h; do
|
||||
if [ ! -r $IN/$f ]; then
|
||||
echo "#include \"Mac$f\"" > $OUT/$f
|
||||
elif [ ! -r $IN/Mac$f ]; then
|
||||
echo "#include \"$f\"" > $OUT/$f
|
||||
echo "#include \"$f\"" > $OUT/Mac$f
|
||||
fi
|
||||
done
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user