Check for SYS/GL during library init. Reason is that
[AROS.git] / workbench / devs / AHI / Drivers / Void / DriverData.h
blob9035bca72a594224c03d279467d4df37ac9ee285
1 #ifndef AHI_Drivers_Void_DriverData_h
2 #define AHI_Drivers_Void_DriverData_h
4 #include <exec/libraries.h>
5 #include <dos/dos.h>
6 #include <proto/dos.h>
8 #include "DriverBase.h"
10 struct VoidBase
12 struct DriverBase driverbase;
13 struct DosLibrary* dosbase;
14 #ifdef __AMIGAOS4__
15 struct DOSIFace* idos;
16 #endif
19 #define DRIVERBASE_SIZEOF (sizeof (struct VoidBase))
21 #define DOSBase (*(struct DosLibrary**) &VoidBase->dosbase)
23 #ifdef __AMIGAOS4__
24 # define IDOS (VoidBase->idos)
25 #endif
27 struct VoidData
29 struct DriverData driverdata;
30 UBYTE flags;
31 UBYTE pad1;
32 BYTE mastersignal;
33 BYTE slavesignal;
34 struct Process* mastertask;
35 struct Process* slavetask;
36 struct VoidBase* ahisubbase;
37 APTR mixbuffer;
41 #endif /* AHI_Drivers_Void_DriverData_h */