Changeset 3e0a98a in rtems


Ignore:
Timestamp:
Dec 6, 2011, 1:35:12 PM (7 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.11, master
Children:
ee89b319
Parents:
13760c8
Message:

2011-12-06 Ralf Corsépius <ralf.corsepius@…>

  • libcsupport/src/envlock.c: Build conditionally.
Location:
cpukit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    r13760c8 r3e0a98a  
    112011-12-06      Ralf Corsépius <ralf.corsepius@rtems.org>
    22
     3        * libcsupport/src/envlock.c: Build conditionally.
    34        * configure.ac: Check for envlock.h.
    45        Check for decls of __env_lock, __env_unlock.
  • cpukit/libcsupport/src/envlock.c

    r13760c8 r3e0a98a  
    1010#include "config.h"
    1111#endif
     12
     13#if defined(HAVE_ENVLOCK_H) \
     14  && defined(HAVE_DECL___ENV_LOCK) && defined(HAVE_DECL___ENV_UNLOCK)
     15
     16#include <envlock.h>
    1217
    1318#include <rtems.h>
     
    106111  rtems_libio_unlock();
    107112}
    108 #endif
     113#endif /* ENVLOCK_DEDICATED_MUTEX */
     114
     115#endif /* HAVE_ENVLOCK_H ... */
Note: See TracChangeset for help on using the changeset viewer.