Path: utzoo!attcan!uunet!lll-winken!lll-tis!ames!ncar!mailrus!ukma!rutgers!ucla-cs!casey From: casey@COGNET.UCLA.EDU Newsgroups: comp.sys.apollo Subject: Please include architecture define in cpp Message-ID: <17414@shemp.CS.UCLA.EDU> Date: 1 Nov 88 01:46:51 GMT Sender: news@CS.UCLA.EDU Reply-To: casey@COGNET.UCLA.EDU (Casey Leedom) Organization: UCLA Cognitive Science Program Lines: 8 I need to put some byte order ifdef's in my code based on CPU architecture type. The Apollo SR10 cpp doesn't define the architecture type being compiled on. I.e., I can't do things like ``#ifdef mc68000''. Note that I can't replace this with ``#ifdef apollo'' since Apollo now has a non mc68000 architecture. For all I know, the new RISC architecture is Big Endian just as the mc68000 is, but unless Apollo is willing to guarantee that all future products will have exactly the same byte ordering, ifdef'ing on apollo seems somewhat silly ...