"Fossies" - the Fresh Open Source Software Archive

Member "usr/include/bits/endian.h" (19 Aug 2019, 453 Bytes) of package /windows/misc/cygwin-20190819-x86.tar.xz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 /* bits/endian.h
    2 
    3 This file is part of Cygwin.
    4 
    5 This software is a copyrighted work licensed under the terms of the
    6 Cygwin license.  Please consult the file "CYGWIN_LICENSE" for
    7 details. */
    8 
    9 #ifndef _BITS_ENDIAN_H_
   10 #define _BITS_ENDIAN_H_
   11 
   12 #ifndef __BIG_ENDIAN
   13 # define __BIG_ENDIAN 4321
   14 #endif
   15 #ifndef __LITTLE_ENDIAN
   16 # define __LITTLE_ENDIAN 1234
   17 #endif
   18 
   19 #ifndef __BYTE_ORDER
   20 # define __BYTE_ORDER __LITTLE_ENDIAN
   21 #endif
   22 
   23 #endif /* _BITS_ENDIAN_H_ */