mirror of
https://github.com/autc04/Retro68.git
synced 2024-11-26 06:49:33 +00:00
fix build-toolchain, make Dialog sample compile with another Universal Headers version
This commit is contained in:
parent
a6c14ce2cc
commit
e4d2e8bd00
@ -19,6 +19,7 @@
|
||||
|
||||
#include <Quickdraw.h>
|
||||
#include <Dialogs.h>
|
||||
#include <Fonts.h>
|
||||
|
||||
QDGlobals qd;
|
||||
|
||||
@ -52,7 +53,7 @@ int main()
|
||||
Rect box;
|
||||
|
||||
GetDialogItem(dlg, 2, &type, &itemH, &box);
|
||||
SetDialogItem(dlg, 2, type, (Handle) NewUserItemUPP(&ButtonFrameProc), &box);
|
||||
SetDialogItem(dlg, 2, type, (Handle) NewUserItemProc(&ButtonFrameProc), &box);
|
||||
|
||||
ControlHandle cb, radio1, radio2;
|
||||
GetDialogItem(dlg, 5, &type, &itemH, &box);
|
||||
|
@ -62,7 +62,7 @@ cd ..
|
||||
sh "$SRC/prepare-headers.sh" "$SRC/CIncludes" toolchain/m68k-unknown-elf/include
|
||||
|
||||
mkdir -p toolchain/RIncludes
|
||||
cp '$SRC/RIncludes/*.r' toolchain/RIncludes/
|
||||
cp $SRC/RIncludes/*.r toolchain/RIncludes/
|
||||
|
||||
mkdir -p build-host
|
||||
cd build-host
|
||||
|
Loading…
Reference in New Issue
Block a user