From: Silver Newsgroups: comp.os.msdos.djgpp Subject: Re: trouble with MSDOS Macro Date: Tue, 06 Feb 2001 16:34:00 +0100 Organization: Private Lines: 20 Message-ID: <3A801968.39E6D7B2@gmx.de> References: <3A80185B DOT 27921 DOT F696E AT localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: news.t-online.com 981473580 00 1025 e8stSQSk-res 010206 15:33:00 X-Complaints-To: abuse AT t-online DOT com X-Sender: 320061326503-0001 AT t-dialin DOT net X-Mailer: Mozilla 4.76 [en] (Win98; U) X-Accept-Language: en To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com pavenis AT lanet DOT lv wrote: > > 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 Thanks, but I'm writing a C++ library and I've set up several naming conventions for this, so I would REALLY appreciate it to call it "MSDOS". Besides I'm pretty sure that it is not a good style for DJGPP to use nonstandart macros for its own purposes without underscores and without documentation. What I need is a way to get DJGPP compatible.