/*
    Copyright 2000 (c) by Claudio Jeker,
    Swiss Federal Institute of Technology,
    Computer Engineering and Networks Laboratory.
 
    TOPSY -- A Teachable Operating System.
             Implementation of a tiny and simple
             micro kernel for teaching purposes.
 
    For further information, please visit http://www.tik.ee.ethz.ch/~topsy
 
    This software is provided under the terms of the GNU General Public 
    Licence. A full copy of the GNU GPL is provided in the file COPYING 
    found in the development root of Topsy.
*/
/*
	
    File:                  $Source: /home/ruf/cvs_Topsy/cvs/Topsy/Topsy/unix/Endian.h,v $
    Author(s):             
    Affiliation:           ETH Zuerich, TIK
    Version:               $Revision: 2922 $
    Creation Date:         
    Last Date of Change:   $Date: 2007-03-19 17:48:52 +0100 (Mon, 19 Mär 2007) $      by: $Author: baderma $
 
 
    $Log: Endian.h,v $
    Revision 1.2  2001/01/16 10:01:34  blutz
    Working on PoolThread: removed config, this will be done by module
    loader Module. Statically started in, out and internal distributors
    and module loader
 
    Revision 1.1  2001/01/16 08:54:00  cjeker
    added Endian.h changes in NetConfigManager
 
 
*/
#ifndef _ENDIAN_H_
#define _ENDIAN_H_

#if defined(__sparc__)
#define TOPSY_BIG_ENDIAN
#endif

#if defined(__i386__)
#define TOPSY_LITTLE_ENDIAN
#endif

#if (! defined(TOPSY_LITTLE_ENDIAN) ) && (! defined(TOPSY_BIG_ENDIAN) )
#warining _______UNKNOWN_ENDIANES__DEFAULT_TO_BIG_ENDIAN___________
#define TOPSY_BIG_ENDIAN
#endif

#endif
