#ifndef PRAGMAS_ERRORMSG_PRAGMAS_H
#define PRAGMAS_ERRORMSG_PRAGMAS_H

#ifndef CLIB_ERRORMSG_PROTOS_H
#include <clib/errormsg_protos.h>
#endif

#ifdef PRAGMAS_DECLARING_LIBBASE
extern struct Library *ErrorMsgBase;
#endif

#pragma libcall ErrorMsgBase GetErrorMsgA 1e 821004
#pragma libcall ErrorMsgBase DisplayErrorMsgA 24 821004
#pragma libcall ErrorMsgBase DisplayMessageA 2a A9803
#pragma libcall ErrorMsgBase PutErrorMsg 30 821004
#pragma libcall ErrorMsgBase AlertErrorMsg 36 21003
#pragma libcall ErrorMsgBase ermOpenLibraryA 42 A0903
#pragma libcall ErrorMsgBase ermOpenLibraryIDA 48 A80104
#pragma libcall ErrorMsgBase ermOpenDeviceA 4e A190205
#pragma libcall ErrorMsgBase ermOpenResourceA 54 A8903

#ifdef __SASC_60
#pragma tagcall ErrorMsgBase GetErrorMsg 1e 821004
#pragma tagcall ErrorMsgBase DisplayErrorMsg 24 821004
#pragma tagcall ErrorMsgBase DisplayMessage 2a A9803
#pragma tagcall ErrorMsgBase ermOpenLibrary 42 A0903
#pragma tagcall ErrorMsgBase ermOpenLibraryID 48 A80104
#pragma tagcall ErrorMsgBase ermOpenDevice 4e A190205
#pragma tagcall ErrorMsgBase ermOpenResource 54 A8903
#endif	/*  __SASC_60  */

#endif	/*  PRAGMAS_ERRORMSG_PRAGMAS_H  */
