Check for SYS/GL during library init. Reason is that
[AROS.git] / workbench / libs / camd / camd_init.c
blob219c279b436d297b5d20a55702a0f27baf7348fb
1 /*
2 Copyright © 1995-2006, The AROS Development Team. All rights reserved.
3 $Id$
5 Camd initialization code.
6 */
8 #include <exec/types.h>
9 #include <exec/libraries.h>
11 #ifndef __amigaos4__
12 # include <aros/symbolsets.h>
13 #endif
15 #include <proto/exec.h>
16 #include <proto/utility.h>
17 #include <proto/dos.h>
19 #include "camd_intern.h"
20 #ifndef __amigaos4__
21 # include LC_LIBDEFS_FILE
22 # define DEBUG 1
23 # include <aros/debug.h>
27 /****************************************************************************************/
29 #ifndef __AROS__
30 static int Expunge(struct CamdBase *CamdBase)
32 UninitCamd(CamdBase);
33 return TRUE;
35 #endif
37 ADD2INITLIB(InitCamd, 0);
38 ADD2EXPUNGELIB(UninitCamd, 0);
40 #else
41 # include "camd_aos4_init.c"
42 #endif