Check for SYS/GL during library init. Reason is that
[AROS.git] / workbench / libs / mathieeesingtrans / mathieeesingtrans_init.c
blob324e1d89ace9f6eaea1d171987c8a0798d2fd453
1 /*
2 Copyright © 1995-2006, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: Init of mathieeesingtrans.library
6 Lang: english
7 */
9 #include <aros/symbolsets.h>
11 #include "mathieeesingtrans_intern.h"
12 #include LC_LIBDEFS_FILE
14 #define DEBUG 0
15 #include <aros/debug.h>
16 #undef kprintf
18 struct Library * MathIeeeSingBasBase;
20 static int Init(LIBBASETYPEPTR LIBBASE)
22 MathIeeeSingBasBase = OpenLibrary ("mathieeesingbas.library", 39);
23 if (!MathIeeeSingBasBase)
24 return FALSE;
26 return TRUE;
30 static int Expunge(LIBBASETYPEPTR LIBBASE)
32 if (MathIeeeSingBasBase)
33 CloseLibrary ((struct Library *)MathIeeeSingBasBase);
35 return TRUE;
38 ADD2INITLIB(Init, 0);
39 ADD2EXPUNGELIB(Expunge, 0);