Robert Riebisch wrote:

> Another solution is linking against GNU GLib, which has g_snprintf(). I could
> tell you more tomorrow.

1) Grab `current/v2tk/glib126b.zip' from a DJGPP repository.
2) Expand `glib126b.zip' to your DJGPP installation.
3) Add the following to `src/speech.h'.

#ifdef __DJGPP__
#include <glib.h>
#define snprintf        g_snprintf
#endif

4) Add `-lglib' to `LIBSx =' lines in `src/Makefile'.
5) Add `-I/dev/env/DJDIR/lib/glib/include' to `CXXFLAGS=' line in
`src/Makefile'.

Robert Riebisch
-- 
BTTR Software
http://www.bttr-software.de/

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user

Reply via email to