Changeset 3ec7bfc in rtems for c/src/libchip/shmdr


Ignore:
Timestamp:
Mar 24, 1998, 4:24:39 PM (23 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
d662fef8
Parents:
222788b
Message:

Rename hppa1_1 to hppa1.1 and switched to using XXX macros for
the CPU family name constants.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/libchip/shmdr/shm_driver.h

    r222788b r3ec7bfc  
    120120 */
    121121
    122 #if defined(i960)
     122#if defined(__i960__)
    123123#define SHM_LOCK_VALUE    0x00000080
    124124#define SHM_UNLOCK_VALUE  0
    125 #elif defined(m68k)
     125#elif defined(__mc68000__)
    126126#define SHM_LOCK_VALUE    0x80000000
    127127#define SHM_UNLOCK_VALUE  0
    128128#define SHM_LOCK_VALUE    0x80000000
    129129#define SHM_UNLOCK_VALUE  0
    130 #elif defined(i386)
     130#elif defined(__i386__)
    131131#define SHM_LOCK_VALUE    0x80000000
    132132#define SHM_UNLOCK_VALUE  0
    133 #elif defined(mips64orion)
     133#elif defined(__mips__)
    134134#define SHM_LOCK_VALUE    0x80000000
    135135#define SHM_UNLOCK_VALUE  0
    136 #elif defined(hppa1_1)
     136#elif defined(__hppa__)
    137137#define SHM_LOCK_VALUE    0
    138138#define SHM_UNLOCK_VALUE  1
    139 #elif defined(ppc)
     139#elif defined(__PPC__)
    140140#define SHM_LOCK_VALUE    1
    141141#define SHM_UNLOCK_VALUE  0
    142 #elif defined(unix)
     142#elif defined(__unix__)
    143143#define SHM_LOCK_VALUE    0
    144144#define SHM_UNLOCK_VALUE  1
Note: See TracChangeset for help on using the changeset viewer.