Changeset 23cdd84 in rtems


Ignore:
Timestamp:
Sep 10, 1998, 12:43:00 PM (21 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
bd3dec5
Parents:
b67245d0
Message:

Patch from David Fiddes <D.J.Fiddes@…> to make this compile
for the ColdFire?.

Files:
5 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/libnetworking/netinet/in_cksum_m68k.c

    rb67245d0 r23cdd84  
    3838#include <sys/mbuf.h>
    3939
    40 #if (defined(__GNUC__) && (defined(__mc68000__) || defined(__m68k__)))
     40#if (defined(__GNUC__) && (defined(__mc68000__) || defined(__m68k__)) && (!__mcf5200__))
    4141
    4242#define REDUCE { sum = (sum & 0xFFFF) + (sum >> 16); if (sum > 0xFFFF) sum -= 0xFFFF; }
  • c/src/lib/libnetworking/netinet/in_cksum_m68k.c

    rb67245d0 r23cdd84  
    3838#include <sys/mbuf.h>
    3939
    40 #if (defined(__GNUC__) && (defined(__mc68000__) || defined(__m68k__)))
     40#if (defined(__GNUC__) && (defined(__mc68000__) || defined(__m68k__)) && (!__mcf5200__))
    4141
    4242#define REDUCE { sum = (sum & 0xFFFF) + (sum >> 16); if (sum > 0xFFFF) sum -= 0xFFFF; }
  • c/src/libnetworking/netinet/in_cksum_m68k.c

    rb67245d0 r23cdd84  
    3838#include <sys/mbuf.h>
    3939
    40 #if (defined(__GNUC__) && (defined(__mc68000__) || defined(__m68k__)))
     40#if (defined(__GNUC__) && (defined(__mc68000__) || defined(__m68k__)) && (!__mcf5200__))
    4141
    4242#define REDUCE { sum = (sum & 0xFFFF) + (sum >> 16); if (sum > 0xFFFF) sum -= 0xFFFF; }
  • cpukit/libnetworking/netinet/in_cksum_m68k.c

    rb67245d0 r23cdd84  
    3838#include <sys/mbuf.h>
    3939
    40 #if (defined(__GNUC__) && (defined(__mc68000__) || defined(__m68k__)))
     40#if (defined(__GNUC__) && (defined(__mc68000__) || defined(__m68k__)) && (!__mcf5200__))
    4141
    4242#define REDUCE { sum = (sum & 0xFFFF) + (sum >> 16); if (sum > 0xFFFF) sum -= 0xFFFF; }
  • cpukit/libnetworking/netinet/in_cksum_m68k.h

    rb67245d0 r23cdd84  
    3838#include <sys/mbuf.h>
    3939
    40 #if (defined(__GNUC__) && (defined(__mc68000__) || defined(__m68k__)))
     40#if (defined(__GNUC__) && (defined(__mc68000__) || defined(__m68k__)) && (!__mcf5200__))
    4141
    4242#define REDUCE { sum = (sum & 0xFFFF) + (sum >> 16); if (sum > 0xFFFF) sum -= 0xFFFF; }
Note: See TracChangeset for help on using the changeset viewer.