Shinya Kitaoka 810553
#pragma once
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
#ifndef MACHINE_DEFINED
Toshihiro Shimizu 890ddd
#define MACHINE_DEFINED
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
/*
Toshihiro Shimizu 890ddd
#ifdef WIN32
Toshihiro Shimizu 890ddd
#define SCANNER_DEVNAME "scanner0"
Toshihiro Shimizu 890ddd
#define DDR_DEVNAME     "ddr0"
Toshihiro Shimizu 890ddd
#else
Toshihiro Shimizu 890ddd
#define SCANNER_DEVNAME "/dev/scanner"
Toshihiro Shimizu 890ddd
#define DDR_DEVNAME     "/dev/ddr"
Toshihiro Shimizu 890ddd
#endif
Toshihiro Shimizu 890ddd
*/
Toshihiro Shimizu 890ddd
Campbell Barton d869b5
#if defined(_WIN32) || defined(i386)
Toshihiro Shimizu 890ddd
#define TNZ_MACHINE_CHANNEL_ORDER_BGRM 1
Toshihiro Shimizu 890ddd
#elif defined(__sgi)
Toshihiro Shimizu 890ddd
#define TNZ_MACHINE_CHANNEL_ORDER_MBGR 1
Rozhuk Ivan ac51ab
#elif defined(LINUX) || defined(FREEBSD)
Campbell Barton 83caeb
#define TNZ_MACHINE_CHANNEL_ORDER_BGRM 1
Toshihiro Shimizu 890ddd
#elif defined(MACOSX)
Toshihiro Shimizu 890ddd
#define TNZ_MACHINE_CHANNEL_ORDER_MRGB 1
Toshihiro Shimizu 890ddd
#else
luz paz 611a25
@UNKNOWN PLATFORM @
Toshihiro Shimizu 890ddd
#endif
Toshihiro Shimizu 890ddd
Campbell Barton a0c6e1
#if !defined(TNZ_LITTLE_ENDIAN)
Campbell Barton a0c6e1
#error "TNZ_LITTLE_ENDIAN not defined!"
Campbell Barton a0c6e1
#endif
Campbell Barton a0c6e1
Toshihiro Shimizu 890ddd
/*
Toshihiro Shimizu 890ddd
#ifdef WIN32
Toshihiro Shimizu 890ddd
#define TNZ_MACHINE_CHANNEL_ORDER_BGRM 1
Toshihiro Shimizu 890ddd
#else
Toshihiro Shimizu 890ddd
#define TNZ_MACHINE_CHANNEL_ORDER_MBGR 1
Toshihiro Shimizu 890ddd
#endif
Toshihiro Shimizu 890ddd
*/
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
#endif /*MACHINE_DEFINED*/