Re: [cc65] Macro naming

From: Ullrich von Bassewitz <uz1musoftware.de>
Date: 2008-05-27 20:40:01
On Tue, May 27, 2008 at 04:56:02PM +0100, Jonathan Graham Harston wrote:
> On and off I've been updating Small-C for the BBC, and that has
> included rewriting the modules and headers into a standard format.
> Should I be using __stdio_h and __bbc__ or _STDIO_H and __BBC__ ?

Platform dependent code is always, well, platform dependent:-) So there is no
rule for the macro identifiers except that for a conforming implementation
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).

Regards


        Uz


-- 
Ullrich von Bassewitz                                  uz@musoftware.de
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Tue May 27 20:40:11 2008

This archive was generated by hypermail 2.1.8 : 2008-05-27 20:40:13 CEST