delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/02/06/08:32:23

From: pavenis AT lanet DOT lv
To: Silver <SilverBanana AT gmx DOT de>, djgpp AT delorie DOT com
Date: Tue, 6 Feb 2001 15:29:31 +0200
MIME-Version: 1.0
Subject: Re: trouble with MSDOS Macro
Message-ID: <3A80185B.27921.F696E@localhost>
In-reply-to: <3A7FE81B.22C51C26@gmx.de>
X-mailer: Pegasus Mail for Win32 (v3.12c)
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On 6 Feb 2001, at 13:03, Silver wrote:

> I need to call a namespace "MSDOS" (it contains MSDOS-specific stuff).
> DJGPPs preprocessor CPP replaces this as it seems to be a predefined
> macro. If I'd #undef it stdvalarray.h could be disturbed (besides: I
> don't want to write DJGPP specific code anyway). Is there any clean and
> good workaround?

Perhaps using different name for namespace (like MS_DOS or MsDos)

Andris

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019