OSDN Git Service
(root)
/
android-x86
/
external-alsa-lib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e3e574
)
Use alphasort where versionsort is not available.
author
Thomas Klausner
<wiz@NetBSD.org>
Thu, 3 Mar 2016 11:58:07 +0000
(12:58 +0100)
committer
Takashi Iwai
<tiwai@suse.de>
Thu, 3 Mar 2016 15:19:06 +0000
(16:19 +0100)
Signed-off-by: Takashi Iwai <tiwai@suse.de>
src/conf.c
patch
|
blob
|
history
src/ucm/parser.c
patch
|
blob
|
history
diff --git
a/src/conf.c
b/src/conf.c
index
a4f2a4f
..
f8b7a66
100644
(file)
--- a/
src/conf.c
+++ b/
src/conf.c
@@
-3549,7
+3549,7
@@
int snd_config_hook_load(snd_config_t *root, snd_config_t *config, snd_config_t
int n;
#ifndef DOC_HIDDEN
-#if
def _GNU_SOURCE
+#if
defined(_GNU_SOURCE) && !defined(__NetBSD__) && !defined(__FreeBSD__) && !defined(__sun)
#define SORTFUNC versionsort
#else
#define SORTFUNC alphasort
diff --git
a/src/ucm/parser.c
b/src/ucm/parser.c
index
9e1cb41
..
8405bd2
100644
(file)
--- a/
src/ucm/parser.c
+++ b/
src/ucm/parser.c
@@
-1264,7
+1264,7
@@
int uc_mgr_scan_master_configs(const char **_list[])
"%s", env ? env : ALSA_USE_CASE_DIR);
filename[MAX_FILE-1] = '\0';
-#if
def _GNU_SOURCE
+#if
defined(_GNU_SOURCE) && !defined(__NetBSD__) && !defined(__FreeBSD__) && !defined(__sun)
#define SORTFUNC versionsort
#else
#define SORTFUNC alphasort