/usr/include/ustr-conf.h is in libustr-dev 1.0.4-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 | #ifndef USTR_CONF_H
#define USTR_CONF_H 1
/* this is the custom version for the library itself, for everyone else
* ustr-import generates one depending on the options. */
/* The default is now to link against libc. */
#ifndef USTR_CONF_INCLUDE_CODEONLY_HEADERS
#define USTR_CONF_INCLUDE_CODEONLY_HEADERS 0
#endif
/* We can't: if defined(__GLIBC__) && (!defined(_GNU_SOURCE) || !_GNU_SOURCE)
* because by the time we've included a libc header it's too late. */
#ifndef _GNU_SOURCE
#define _GNU_SOURCE 1
#endif
/* maybe move memmem / memrchr here? */
#if ! USTR_CONF_INCLUDE_CODEONLY_HEADERS
/* If you aren't just using the headers, these should match the .c's */
# define USTR_CONF_HAVE_64bit_SIZE_MAX 1
# define USTR_CONF_HAVE_RETARDED_VSNPRINTF 0
# define USTR_CONF_HAVE_STDINT_H 1
# define USTR_CONF_HAVE_DYNAMIC_CONF 1
# define USTR_CONF_USE_DYNAMIC_CONF USTR_CONF_HAVE_DYNAMIC_CONF
# define USTR_CONF_REF_BYTES 1
# define USTR_CONF_EXACT_BYTES 0
# define USTR_CONF_USE_SIZE 0
# define USTR_CONF_USE_ASSERT 0
# define USTR_CONF_USE_EOS_MARK 0
#else
/* Same defaults, but can be altered at will. */
/* Note that you really shouldn't alter the _HAVE_* ones, but whatever */
# ifndef USTR_CONF_HAVE_64bit_SIZE_MAX
# define USTR_CONF_HAVE_64bit_SIZE_MAX 1
# endif
# ifndef USTR_CONF_HAVE_RETARDED_VSNPRINTF
# define USTR_CONF_HAVE_RETARDED_VSNPRINTF 0
# endif
# ifndef USTR_CONF_HAVE_STDINT_H
# define USTR_CONF_HAVE_STDINT_H 1
# endif
# ifndef USTR_CONF_HAVE_DYNAMIC_CONF
# define USTR_CONF_HAVE_DYNAMIC_CONF 1
# endif
/* no USE_DYNAMIC_CONF ... use default in ustr-main.h */
# ifndef USTR_CONF_REF_BYTES
# define USTR_CONF_REF_BYTES 1
# endif
# ifndef USTR_CONF_EXACT_BYTES
# define USTR_CONF_EXACT_BYTES 0
# endif
# ifndef USTR_CONF_USE_SIZE
# define USTR_CONF_USE_SIZE 0
# endif
# ifndef USTR_CONF_USE_ASSERT
# define USTR_CONF_USE_ASSERT 0
# endif
# ifndef USTR_CONF_USE_EOS_MARK
# define USTR_CONF_USE_EOS_MARK 0
# endif
#endif
#endif
|