Changeset 47d64ce for lib


Ignore:
Timestamp:
07/02/18 12:03:52 (2 years ago)
Author:
Shane Alcock <salcock@…>
Branches:
cachetimestamps, develop, master, rc-4.0.4, ringdecrementfix, ringperformance
Children:
c7a320a
Parents:
8f5d454 (diff), 823d8e1 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'fix-check-funcs' of git://github.com/alistairking/libtrace into alistairking-fix-check-funcs

Location:
lib
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • lib/Makefile.am

    rb663d33 r823d8e1  
    7878                data-struct/buckets.c data-struct/simple_circular_buffer.c \
    7979                combiner_sorted.c combiner_unordered.c \
    80                 pthread_spinlock.c pthread_spinlock.h
     80                pthread_spinlock.c pthread_spinlock.h \
     81                strndup.c
    8182
    8283if DAG2_4
  • lib/libtrace_int.h

    r32ee9b2 r823d8e1  
    9999#endif
    100100
    101 #ifndef HAVE_STRNDUP
     101#if !HAVE_DECL_STRNDUP
    102102char *strndup(const char *s, size_t size);
    103103#endif
    104104
    105 #ifndef HAVE_STRNCASECMP
     105#if !HAVE_DECL_STRNCASECMP
    106106# ifndef HAVE__STRNICMP
    107107/** A local implementation of strncasecmp (as some systems do not have it) */
     
    112112#endif
    113113
    114 #ifndef HAVE_SNPRINTF
     114#if !HAVE_DECL_SNPRINTF
    115115# ifndef HAVE_SPRINTF_S
    116116/** A local implementation of snprintf (as some systems do not have it) */
  • lib/strndup.c

    ree6e802 r823d8e1  
    2424 *
    2525 */
    26 #ifndef HAVE_STRNDUP
     26#include "config.h"
     27#if !HAVE_DECL_STRNDUP
    2728
    2829#include <stdlib.h>
Note: See TracChangeset for help on using the changeset viewer.