JPEGView/JFIF Preview/JFIFPreview.fat.r
Aaron Giles 92bdb55672 JPEGView 3.3 for Macintosh
These are the sources for the final official release of JPEGView for the
Mac, back in 1994.
2015-02-05 00:18:10 -08:00

1 line
1.4 KiB
R

/*********************************************************/
/* This source code copyright (c) 1991-2001, Aaron Giles */
/* See the Read Me file for licensing information. */
/* Contact email: mac@aarongiles.com */
/*********************************************************/
// *****************************************************************************
//
// JFIFPreview.fat.r -- Rez code to support building a Fat or PPC-only version
//
// *****************************************************************************
#include "MixedMode.r"
// -----------------------------------------------------------------------------
#ifdef POWER_PC_ONLY
type 'pnot' as 'rdes';
resource 'pnot' (4213) {
0x000003F0, // PowerPC ProcInfo
$$Resource("JFIFPreview.rsrc", 'pCod', 4213) // Specify name, type, and ID of resource
// containing a pef container
};
// -----------------------------------------------------------------------------
#else
type 'pnot' as 'sdes';
resource 'pnot' (4213) {
0x000003F0, // 68K ProcInfo
0x000003F0, // PowerPC ProcInfo
$$Resource("JFIFPreview.rsrc", 'oCod', 4213), // name, type, and ID of rsrc containing 68k code
$$Resource("JFIFPreview.rsrc", 'pCod', 4213) // name, type, and ID of rsrc containing ppc code
};
// -----------------------------------------------------------------------------
#endif