[Zlib-devel] POSTINC under m68k

Greg Roelofs newt at pobox.com
Sat Sep 13 12:30:33 EDT 2003


> I think that POSTINC should be defined in zconf.h or zutil.h, and I'd
> personally prefer zutil.h. But in order to do this, we need a macro that
> informs the prepreocessor about the m68k CPU. Is there any?

Many compilers define m68k, and I'd guess that modern ones also do so
with underscores.

many:m68k     1    MPW C 2.0.2
many:m68k     1    MPW C 3.0
realix.def:                    m68k (1)
amiga.def:      M68000
ti_sysv.def:    m68k
hp_apollo_domain_cc.def:_ISP__M68K      = 1
next32_cc.def:__ARCHITECTURE__ = "m68k"  
next32_cc.def:m68k = 1  
k/realix_and_nt.defs:m68k    = 1

Note that NeXT's cc is gcc.

Greg




More information about the Zlib-devel mailing list