mirror of
https://github.com/bebbo/amiga-gcc.git
synced 2026-05-03 11:28:34 +00:00
add supprt for newlib, add netinlude, ... lotta changes
This commit is contained in:
@@ -1,20 +1,11 @@
|
||||
--- NDK_3.9/Include/include_h/devices/timer.h Wed Aug 30 16:13:01 1995
|
||||
+++ NDK_3.9/Include/include_h/devices/timer.h Sat Aug 10 15:53:59 1996
|
||||
@@ -27,10 +27,17 @@
|
||||
|
||||
#define TIMERNAME "timer.device"
|
||||
|
||||
+#ifndef _SYS_TIME_H_
|
||||
+/* Use whatever was included first, standard (sys/time.h) or Amiga
|
||||
+ * includes (jch). */
|
||||
struct timeval {
|
||||
--- /old/Include/include_h/devices/timer.h 2001-12-17 14:03:44.000000000 +0100
|
||||
+++ /new/Include/include_h/devices/timer.h 2018-05-07 09:55:38.850775200 +0200
|
||||
@@ -31,6 +31,8 @@
|
||||
ULONG tv_secs;
|
||||
ULONG tv_micro;
|
||||
};
|
||||
+#else
|
||||
+#define tv_secs tv_sec
|
||||
+#define tv_micro tv_usec
|
||||
+#endif
|
||||
+#define tv_sec tv_secs
|
||||
+#define tv_usec tv_micro
|
||||
|
||||
struct EClockVal {
|
||||
ULONG ev_hi;
|
||||
|
||||
30
patches/NDK_3.9/Include/include_h/intuition/classes.h.diff
Normal file
30
patches/NDK_3.9/Include/include_h/intuition/classes.h.diff
Normal file
@@ -0,0 +1,30 @@
|
||||
--- /old/Include/include_h/intuition/classes.h 2001-12-17 14:16:30.000000000 +0100
|
||||
+++ /new/Include/include_h/intuition/classes.h 2018-05-09 20:00:44.813785900 +0200
|
||||
@@ -48,7 +48,12 @@
|
||||
ULONG cl_ObjectCount; /* Number of objects */
|
||||
ULONG cl_Flags;
|
||||
|
||||
-} Class;
|
||||
+}
|
||||
+#ifdef __OBJC__
|
||||
+ IntuitionClass;
|
||||
+#else
|
||||
+ Class;
|
||||
+#endif
|
||||
|
||||
#define CLF_INLIST 0x00000001L
|
||||
/* class is in public class list */
|
||||
@@ -106,7 +111,12 @@
|
||||
{
|
||||
struct Library cl_Lib; /* Embedded library */
|
||||
UWORD cl_Pad; /* Align the structure */
|
||||
- Class *cl_Class; /* Class pointer */
|
||||
+#ifdef __OBJC__
|
||||
+ IntuitionClass
|
||||
+#else
|
||||
+ Class
|
||||
+#endif
|
||||
+ *cl_Class; /* Class pointer */
|
||||
|
||||
};
|
||||
|
||||
19
patches/ndk13/chfiles
Executable file
19
patches/ndk13/chfiles
Executable file
@@ -0,0 +1,19 @@
|
||||
clib/alib_protos.h
|
||||
clib/console_protos.h
|
||||
clib/diskfont_protos.h
|
||||
clib/dos_protos.h
|
||||
clib/exec_protos.h
|
||||
clib/expansion_protos.h
|
||||
clib/graphics_protos.h
|
||||
clib/icon_protos.h
|
||||
clib/intuition_protos.h
|
||||
clib/layers_protos.h
|
||||
clib/mathffp_protos.h
|
||||
clib/mathieeesingbas_protos.h
|
||||
clib/mathieeesingtrans_protos.h
|
||||
clib/mathieeedoubbas_protos.h
|
||||
clib/mathieeedoubtrans_protos.h
|
||||
clib/mathtrans_protos.h
|
||||
clib/potgo_protos.h
|
||||
clib/timer_protos.h
|
||||
clib/translator_protos.h
|
||||
18
patches/ndk13/ehfiles
Executable file
18
patches/ndk13/ehfiles
Executable file
@@ -0,0 +1,18 @@
|
||||
exec/avl.h
|
||||
intuition/classes.h
|
||||
intuition/iobsolete.h
|
||||
intuition/cghook.h
|
||||
intuition/classusr.h
|
||||
graphics/displayinfo.h
|
||||
graphics/monitor.h
|
||||
libraries/commodities.h
|
||||
dos/record.h
|
||||
dos/rdargs.h
|
||||
dos/dosasl.h
|
||||
dos/var.h
|
||||
dos/notify.h
|
||||
rexx/storage.h
|
||||
utility/hooks.h
|
||||
utility/tagitem.h
|
||||
proto/commodities.h
|
||||
datatypes/pictureclass.h
|
||||
18
patches/ndk13/fdfiles
Normal file
18
patches/ndk13/fdfiles
Normal file
@@ -0,0 +1,18 @@
|
||||
console_lib.fd
|
||||
diskfont_lib.fd
|
||||
dos_lib.fd
|
||||
exec_lib.fd
|
||||
expansion_lib.fd
|
||||
graphics_lib.fd
|
||||
icon_lib.fd
|
||||
intuition_lib.fd
|
||||
layers_lib.fd
|
||||
mathffp_lib.fd
|
||||
mathieeesingbas_lib.fd
|
||||
mathieeesingtrans_lib.fd
|
||||
mathieeedoubbas_lib.fd
|
||||
mathieeedoubtrans_lib.fd
|
||||
mathtrans_lib.fd
|
||||
potgo_lib.fd
|
||||
timer_lib.fd
|
||||
translator_lib.fd
|
||||
92
patches/ndk13/hfiles
Normal file
92
patches/ndk13/hfiles
Normal file
@@ -0,0 +1,92 @@
|
||||
dos/datetime.h
|
||||
dos/dos.h
|
||||
dos/dosextens.h
|
||||
dos/doshunks.h
|
||||
dos/exall.h
|
||||
dos/filehandler.h
|
||||
devices/audio.h
|
||||
devices/bootblock.h
|
||||
devices/clipboard.h
|
||||
devices/console.h
|
||||
devices/conunit.h
|
||||
devices/gameport.h
|
||||
devices/hardblocks.h
|
||||
devices/input.h
|
||||
devices/inputevent.h
|
||||
devices/keyboard.h
|
||||
devices/keymap.h
|
||||
devices/narrator.h
|
||||
devices/parallel.h
|
||||
devices/printer.h
|
||||
devices/prtbase.h
|
||||
devices/prtgfx.h
|
||||
devices/scsidisk.h
|
||||
devices/serial.h
|
||||
devices/timer.h
|
||||
devices/trackdisk.h
|
||||
exec/alerts.h
|
||||
exec/devices.h
|
||||
exec/errors.h
|
||||
exec/exec.h
|
||||
exec/execbase.h
|
||||
exec/interrupts.h
|
||||
exec/io.h
|
||||
exec/libraries.h
|
||||
exec/lists.h
|
||||
exec/memory.h
|
||||
exec/nodes.h
|
||||
exec/ports.h
|
||||
exec/resident.h
|
||||
exec/semaphores.h
|
||||
exec/tasks.h
|
||||
exec/types.h
|
||||
graphics/clip.h
|
||||
graphics/collide.h
|
||||
graphics/copper.h
|
||||
graphics/display.h
|
||||
graphics/gels.h
|
||||
graphics/gfx.h
|
||||
graphics/gfxbase.h
|
||||
graphics/gfxmacros.h
|
||||
graphics/gfxnodes.h
|
||||
graphics/graphint.h
|
||||
graphics/layers.h
|
||||
graphics/rastport.h
|
||||
graphics/regions.h
|
||||
graphics/sprite.h
|
||||
graphics/text.h
|
||||
graphics/view.h
|
||||
hardware/adkbits.h
|
||||
hardware/blit.h
|
||||
hardware/cia.h
|
||||
hardware/custom.h
|
||||
hardware/dmabits.h
|
||||
hardware/intbits.h
|
||||
intuition/intuition.h
|
||||
intuition/intuitionbase.h
|
||||
intuition/preferences.h
|
||||
intuition/screens.h
|
||||
libraries/configregs.h
|
||||
libraries/configvars.h
|
||||
libraries/diskfont.h
|
||||
libraries/dos.h
|
||||
libraries/dosextens.h
|
||||
libraries/expansion.h
|
||||
libraries/expansionbase.h
|
||||
libraries/filehandler.h
|
||||
libraries/mathffp.h
|
||||
libraries/mathieeedp.h
|
||||
libraries/mathlibrary.h
|
||||
libraries/translator.h
|
||||
resources/cia.h
|
||||
resources/disk.h
|
||||
resources/filesysres.h
|
||||
resources/mathresource.h
|
||||
resources/misc.h
|
||||
resources/potgo.h
|
||||
workbench/icon.h
|
||||
workbench/startup.h
|
||||
workbench/workbench.h
|
||||
proto/alib.h
|
||||
inline/stubs.h
|
||||
inline/macros.h
|
||||
Reference in New Issue
Block a user