make armeb specific header (set AROS_BIG_ENDIAN to one)
[AROS.git] / compiler / stdc / __stdc_intbase.h
blobeb8b4237d89296b8f7fc45abd34040a55382fa22
1 /*
2 Copyright © 2012-2018, The AROS Development Team. All rights reserved.
3 $Id$
5 This file defines the private part of StdCBase.
6 This should only be used internally in stdc.library code so
7 changes can be made to this structure without breaking backwards
8 compatibility.
9 */
10 #ifndef __STDC_INTBASE_H
11 #define __STDC_INTBASE_H
13 #include <libraries/stdc.h>
14 #include <libraries/locale.h>
15 #include <intuition/intuitionbase.h>
16 #include <devices/timer.h>
17 #include <dos/bptr.h>
19 #include <time.h>
21 #include <aros/types/clock_t.h>
22 /* Some structs that are defined privately */
23 struct signal_func_data;
25 struct StdCIntBase
27 struct StdCBase StdCBase;
28 struct StdCIntBase *StdCRootBase;
29 BPTR StdCSegList;
31 struct DosLibrary *StdCDOSBase; // Needed for strerror->Fault
32 /* optional libs */
33 struct LocaleBase *StdCLocaleBase;
34 struct IntuitionBase *StdCIntuitionBase;
35 struct Device *StdCTimerBase;
37 /* common */
38 int flags;
40 /* stdlib.h */
41 APTR mempool;
42 unsigned int srand_seed;
44 /* time.h and it's functions */
45 struct timerequest timereq;
46 struct MsgPort timeport;
47 char timebuffer[26];
48 struct tm tmbuffer;
49 clock_t starttime;
51 /* __stdc_startup.c */
52 int *startup_errorptr;
53 jmp_buf exit_jmpbuf;
55 /* atexit.c */
56 struct MinList atexit_list;
58 /* signal.c & co. */
59 struct signal_func_data *sigfunc_array;
61 /* strerror.c */
62 char *fault_buf;
64 /* strtok.c */
65 char *last;
67 /* private for fenv.c/softfloat implementations */
68 APTR __fe_private;
69 APTR __fe_dfl_env;
70 APTR __fe_nomask_env;
71 int __fe_round;
74 /* Make a distinction between exit() and abort() */
75 #define ABNORMAL_EXIT 0x00000001
77 #endif //__STDC_INTBASE_H