mirror of
https://git.proxmox.com/git/mirror_corosync
synced 2025-08-06 03:23:02 +00:00
Patch to allow BSD/Linux systems to compile with latest Solaris porting patch.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1354 fd59a12c-fef9-0310-b244-a6a79926bd2f
This commit is contained in:
parent
cb154572a2
commit
1c5bb34012
@ -264,7 +264,7 @@ static int ldso_path_build (char *path, char *filename)
|
||||
return (0);
|
||||
}
|
||||
|
||||
#ifndef HAVE_SCANDIR
|
||||
#if defined (OPENAIS_SOLARIS) && !defined(HAVE_SCANDIR)
|
||||
static int scandir (
|
||||
const char *dir, struct dirent ***namelist,
|
||||
int (*filter)(const struct dirent *),
|
||||
@ -333,7 +333,7 @@ fail:
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_ALPHASORT
|
||||
#if defined (OPENAIS_SOLARIS) && !defined(HAVE_ALPHASORT)
|
||||
static int alphasort (const struct dirent **a, const struct dirent **b)
|
||||
{
|
||||
return strcmp ((*a)->d_name, (*b)->d_name);
|
||||
|
Loading…
Reference in New Issue
Block a user