[cc65] Re: Macro naming

From: Jonathan Graham Harston <jgh1arcade.demon.co.uk>
Date: 2008-05-28 15:43:28
> Message-ID: <20080527184000.GA28007@trixie.musoftware.de>
 
Ullrich von Bassewitz wrote:
> > Should I be using __stdio_h and __bbc__ or _STDIO_H and __BBC__ ?
> 
> these have to be in the reserved namespace (short version: starting with an
> underline and an uppercase letter, or with two underlines and a lowercase
> letter).
 
That suggests I should start off any code with something like:
 
#ifdef __bbc__
#define __BBC__
#endif
#ifdef __BBC__
#define __bbc__
#endif
 
-- 
J.G.Harston - jgh@arcade.demon.co.uk - mdfs.net/User/JGH
BBC BASIC for 30+ platforms - http://mdfs.net/Software/BBCBasic
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Wed May 28 16:02:55 2008

This archive was generated by hypermail 2.1.8 : 2008-05-28 16:02:59 CEST