Changeset 823d8e1
- Timestamp:
- 06/29/18 09:49:20 (3 years ago)
- Branches:
- cachetimestamps, develop, master, rc-4.0.4, ringdecrementfix, ringperformance
- Children:
- 47d64ce
- Parents:
- c7f1faf
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
configure.in
re8e9052 r823d8e1 87 87 AC_FUNC_REALLOC 88 88 89 # *BSD doesn't have strndup. Currently provide our own.90 AC_REPLACE_FUNCS(strndup)91 92 93 89 # Checks for typedefs, structures, and compiler characteristics. 94 90 AC_C_CONST … … 126 122 127 123 # Fail if any of these functions are missing 128 AC_CHECK_ FUNCS(socket strdup strlcpy strcasecmp strncasecmp snprintf vsnprintf recvmmsg)124 AC_CHECK_DECLS([socket, strdup, strlcpy, strcasecmp, strncasecmp, snprintf, vsnprintf, recvmmsg, strndup]) 129 125 130 126 AC_CHECK_SIZEOF([long int]) -
lib/Makefile.am
rb663d33 r823d8e1 78 78 data-struct/buckets.c data-struct/simple_circular_buffer.c \ 79 79 combiner_sorted.c combiner_unordered.c \ 80 pthread_spinlock.c pthread_spinlock.h 80 pthread_spinlock.c pthread_spinlock.h \ 81 strndup.c 81 82 82 83 if DAG2_4 -
lib/libtrace_int.h
r32ee9b2 r823d8e1 99 99 #endif 100 100 101 #if ndef HAVE_STRNDUP101 #if !HAVE_DECL_STRNDUP 102 102 char *strndup(const char *s, size_t size); 103 103 #endif 104 104 105 #if ndef HAVE_STRNCASECMP105 #if !HAVE_DECL_STRNCASECMP 106 106 # ifndef HAVE__STRNICMP 107 107 /** A local implementation of strncasecmp (as some systems do not have it) */ … … 112 112 #endif 113 113 114 #if ndef HAVE_SNPRINTF114 #if !HAVE_DECL_SNPRINTF 115 115 # ifndef HAVE_SPRINTF_S 116 116 /** A local implementation of snprintf (as some systems do not have it) */ -
lib/strndup.c
ree6e802 r823d8e1 24 24 * 25 25 */ 26 #ifndef HAVE_STRNDUP 26 #include "config.h" 27 #if !HAVE_DECL_STRNDUP 27 28 28 29 #include <stdlib.h>
Note: See TracChangeset
for help on using the changeset viewer.