Changeset 73452854 in rtems


Ignore:
Timestamp:
Jul 23, 1998, 8:04:55 PM (22 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
67a2288
Parents:
613ab62
Message:

Patch from Ralf Corsepius <corsepiu@…>:

Here is a pure sh-rtems bug-fix patch.

The defines to enable the network to host conversion macros in
netinet/in.h were missing in sh/cpu.h

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/score/cpu/sh/cpu.h

    r613ab62 r73452854  
    249249#define CPU_STRUCTURE_ALIGNMENT __attribute__ ((aligned(16)))
    250250
     251/*
     252 *  Define what is required to specify how the network to host conversion
     253 *  routines are handled.
     254 *
     255 *  NOTE: SHes can be big or little endian, the default is big endian
     256 */
     257
     258#define CPU_CPU_HAS_OWN_HOST_TO_NETWORK_ROUTINES FALSE
     259
     260/* __LITTLE_ENDIAN__ is defined if -ml is given to gcc */
     261#if defined(__LITTLE_ENDIAN__)
     262#define CPU_BIG_ENDIAN                           FALSE
     263#define CPU_LITTLE_ENDIAN                        TRUE
     264#else
     265#define CPU_BIG_ENDIAN                           TRUE
     266#define CPU_LITTLE_ENDIAN                        FALSE
     267#endif
     268 
    251269/*
    252270 *  The following defines the number of bits actually used in the
Note: See TracChangeset for help on using the changeset viewer.