----- Original Message -----
From: "Dmitry Jemerov" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, April 19, 2000 8:01 AM
Subject: build fixes (RE: cvsuser)

Just do something like (I haven't looked at the sourcefile, but still):

#ifdef WINDOWS
#define EXTRADEF DLLLEXTERN
#else
#define EXTRADEF
#endif

int EXTRADEF init();

etc.

--Rink


> So my build fixes break your build, and yours break mine. Oh great.
>
> I need to put the DLLEXTERN declaration in a header file that is always
> included from every source file before any other header file. I chose
> engine.h as the point for placing that declaration; if it's a wrong
choice,
> could you suggest a better one? Creating a separate header file for this
> single declaration looks like overkill to me, and copying it several times
> just doesn't look nice.
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, April 18, 2000 11:36 PM
> To: [EMAIL PROTECTED]
> Subject: cvs: cvsuser
>
>
> * build fixes all over the place
>


Reply via email to