provide SIZE_MAX
[AROS.git] / workbench / prefs / font / misc.c
blob72ec8711bfc387e7b4dc2709888f39eab60a1ed5
1 /*
2 Copyright © 2003, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #include <exec/types.h>
8 #include <proto/dos.h>
9 #include <proto/intuition.h>
11 #include "locale.h"
13 VOID ShowMessage(CONST_STRPTR msg)
15 struct EasyStruct es;
17 if (msg)
19 if (IntuitionBase)
21 es.es_StructSize = sizeof(es);
22 es.es_Flags = 0;
23 es.es_Title = (CONST_STRPTR) "Serial";
24 es.es_TextFormat = (CONST_STRPTR) msg;
25 es.es_GadgetFormat = _(MSG_OK);
27 EasyRequestArgs(NULL, &es, NULL, NULL); /* win=NULL -> wb screen */
29 else
31 Printf("Serial: %s\n", msg);