Mail Archives: djgpp/1997/01/23/00:44:14
| From: | bdarnell AT vnet DOT net (Ben Darnell)
|
| Newsgroups: | comp.os.msdos.djgpp
|
| Subject: | Re: Allegro and MikMod - Are they compatible ?
|
| Date: | Wed, 22 Jan 1997 21:37:56 GMT
|
| Organization: | Vnet Internet Access, Inc.
|
| Lines: | 23
|
| Message-ID: | <32e68191.3266609@news.vnet.net>
|
| References: | <5c5eje$cig AT shrike DOT depaul DOT edu>
|
| NNTP-Posting-Host: | vts-char6-s28.vnet.net
|
| To: | djgpp AT delorie DOT com
|
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
On Wed, 22 Jan 97 16:28:54 GMT, tmarkiew AT shrike DOT depaul DOT edu (Tom
Markiewicz) wrote:
>I've been trying to put allegro and mikmod together but I get some problems.
>Allegro works fine by itself and so does mikmod. When I put the two together,
>there seems to be some kind of conflict though. I have a feeling it might have
>something to do with the timers but I'm kind of a newbe to pmode and djgpp so
>I'm not sure. Is anyone successfully using allegro and mikmod?
The problem isn't with the timers (mikmod doesn't use them), the
problem is that both declare a type called 'SAMPLE'. Mikalleg
resolved this for allegro 2.1, but for newer versions, just use these
preprocessor directives:
#include <mikmod.h>
#define SAMPLE ALLEGRO_SAMPLE
#include <allegro.h>
#undef SAMPLE
__ __
/> /_ /| / /\ /| /> /| / /_ / /
/> /_ / |/ /_/ /-| / \ / |/ /_ /_ /_
http://users.vnet.net/bdarnell
bdarnell AT vnet DOT net
- Raw text -