Changeset 11925eef in rtems for c/src/libchip/ide


Ignore:
Timestamp:
Nov 21, 2014, 7:49:57 AM (6 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, 5, master
Children:
5dff7425
Parents:
db44590c
git-author:
Sebastian Huber <sebastian.huber@…> (11/21/14 07:49:57)
git-committer:
Sebastian Huber <sebastian.huber@…> (11/21/14 07:52:29)
Message:

Delete or rename MIN/MAX macros and defines

Include <sys/param.h> if necessary to get the MIN()/MAX() macros.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/libchip/ide/ata_internal.h

    rdb44590c r11925eef  
    1616#define __ATA_INTERNAL_H__
    1717
     18#include <sys/param.h>
    1819#include <rtems.h>
    1920#include <sys/types.h>
     
    4647#endif
    4748
    48 #define MIN(a, b)  (((a) < (b)) ? (a) : (b))
    4949#define ATA_UNDEFINED_VALUE   (-1)
    5050
Note: See TracChangeset for help on using the changeset viewer.