mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-24 11:58:10 +01:00
43843745dc
Solaris does not ship a version of the strsep() function. This change adds a check to "configure" to see whether notmuch needs to provide its own implementation, and if so, it uses the new version in "compat/strsep.c" (which was copied from Mutt, and apparently before that from glibc). Signed-off-by: Vladimir Marek <vlmarek@volny.cz>
11 lines
153 B
C
11 lines
153 B
C
#define _GNU_SOURCE
|
|
#include <string.h>
|
|
|
|
int main()
|
|
{
|
|
char *found;
|
|
char **stringp;
|
|
const char *delim;
|
|
|
|
found = strsep(stringp, delim);
|
|
}
|