Changeset 2d76aa8 in rtems


Ignore:
Timestamp:
May 31, 2010, 12:22:38 PM (9 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, master
Children:
c48572d9
Parents:
8593651
Message:

2010-05-31 Ralf Corsépius <ralf.corsepius@…>

PR 1531/newlib

  • libchip/network/i82586.c: Add local copy of ALIGN().
Location:
c/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/ChangeLog

    r8593651 r2d76aa8  
     12010-05-31      Ralf Corsépius <ralf.corsepius@rtems.org>
     2
     3        PR 1531/newlib
     4        * libchip/network/i82586.c:
     5        Add local copy of ALIGN().
     6
    172010-05-31      Ralf Corsépius <ralf.corsepius@rtems.org>
    28
  • c/src/libchip/network/i82586.c

    r8593651 r2d76aa8  
    173173#include "i82586reg.h"
    174174#include "i82586var.h"
     175
     176#if defined(ALIGNBYTES) && defined(ALIGN)
     177/* FIXME: Redefine because some versions of
     178 * RTEMS newlib and the BSDs ship a broken ALIGN */
     179#undef ALIGN
     180#define ALIGN(p)        (((uintptr_t)(p) + ALIGNBYTES) & ~ALIGNBYTES)
     181#else
     182#define ALIGN(p)        (p)
     183#endif
    175184
    176185/*
Note: See TracChangeset for help on using the changeset viewer.