refs #222: add support for NDK3.2

make NDK=3.2 ...
This commit is contained in:
bebbo
2021-08-10 22:36:46 +02:00
parent cb2edfd3ef
commit e7d9d3418b
7 changed files with 136 additions and 35 deletions
@@ -0,0 +1,24 @@
--- old/devices/timer.h 2021-04-13 02:41:06.000000000 +0200
+++ new/devices/timer.h 2021-08-10 16:38:04.990455793 +0200
@@ -53,10 +53,19 @@
#ifndef __USE_NEW_TIMEVAL__
+#ifndef _TIMEVAL_DEFINED
+#define _TIMEVAL_DEFINED
struct timeval {
- ULONG tv_secs;
- ULONG tv_micro;
+ union {
+ ULONG tv_sec; /* seconds */
+ ULONG tv_secs;
+ };
+ union {
+ ULONG tv_usec; /* and microseconds */
+ ULONG tv_micro;
+ };
};
+#endif
struct timerequest {
struct IORequest tr_node;
@@ -0,0 +1,25 @@
--- NDK3.2/Include_H/exec/types.h 2021-08-10 21:12:23.590231011 +0200
+++ NDK3.2/Include_H/exec/types.h 2021-08-10 21:12:45.580230711 +0200
@@ -133,18 +133,18 @@
#endif /* !__use_amiga_stdc_c99 */
#ifdef __cplusplus
-typedef char * STRPTR; /* string pointer (NUL-terminated) */
+typedef char * STRPTR; /* string pointer (NUL-terminated) */
#else
-typedef unsigned char * STRPTR; /* string pointer (NUL-terminated) */
+typedef char * STRPTR; /* string pointer (NUL-terminated) */
#endif
/* Constant string pointer (NUL-terminated), which is most useful
* in function prototypes and data structure definitions.
*/
#ifdef __cplusplus
-typedef CONST char * CONST_STRPTR;
+typedef CONST char * CONST_STRPTR;
#else
-typedef CONST unsigned char * CONST_STRPTR;
+typedef CONST char * CONST_STRPTR;
#endif
/* Types with specific semantics */
+9
View File
@@ -0,0 +1,9 @@
--- NDK3.2/SFD/dos_lib.sfd 2020-07-31 14:12:28.000000000 +0200
+++ NDK3.2/SFD/dos_lib.sfd 2021-08-10 22:15:47.930179054 +0200
@@ -1,5 +1,6 @@
==id $Id: dos_lib.sfd,v 36.31 1992-12-17 20:11:35 jesup Exp $
* "dos.library"
+==basetype struct DosLibrary *
==base _DOSBase
==bias 30
==public
+9
View File
@@ -0,0 +1,9 @@
--- NDK3.2/SFD/exec_lib.sfd 2020-08-12 23:22:42.000000000 +0200
+++ NDK3.2/SFD/exec_lib.sfd 2021-08-10 20:50:52.450248645 +0200
@@ -1,5 +1,6 @@
==id $Id: exec_lib.sfd,v 47.4 2020/08/12 14:21:06 obarthel Exp $
* "exec.library"
+==basetype struct ExecBase *
==base _SysBase
==bias 30
==public
+9
View File
@@ -0,0 +1,9 @@
--- projects/NDK3.2/SFD/locale_lib.sfd 2020-09-12 05:55:08.000000000 +0200
+++ projects/NDK3.2/SFD/locale_lib.sfd 2021-08-10 22:18:56.850176474 +0200
@@ -1,5 +1,6 @@
==id $Id: locale_lib.sfd,v 44.1 2002-02-11 19:12:56 o.barthel Exp $
* "locale.library"
+==basetype struct LocaleBase *
==base _LocaleBase
==bias 30
==public