зеркало из https://github.com/mozilla/gecko-dev.git
Fixed windows build booboo. Added extern C to the defintion of nsQuickSort
This commit is contained in:
Родитель
f3db6cbe8f
Коммит
7723a871e2
|
@ -97,6 +97,7 @@ med3(char *a, char *b, char *c, cmp_t* cmp, void *data)
|
|||
:(cmp(b, c, data) > 0 ? b : (cmp(a, c, data) < 0 ? a : c ));
|
||||
}
|
||||
|
||||
extern "C"
|
||||
void nsQuickSort (
|
||||
void *a,
|
||||
unsigned int n,
|
||||
|
|
|
@ -97,6 +97,7 @@ med3(char *a, char *b, char *c, cmp_t* cmp, void *data)
|
|||
:(cmp(b, c, data) > 0 ? b : (cmp(a, c, data) < 0 ? a : c ));
|
||||
}
|
||||
|
||||
extern "C"
|
||||
void nsQuickSort (
|
||||
void *a,
|
||||
unsigned int n,
|
||||
|
|
|
@ -97,6 +97,7 @@ med3(char *a, char *b, char *c, cmp_t* cmp, void *data)
|
|||
:(cmp(b, c, data) > 0 ? b : (cmp(a, c, data) < 0 ? a : c ));
|
||||
}
|
||||
|
||||
extern "C"
|
||||
void nsQuickSort (
|
||||
void *a,
|
||||
unsigned int n,
|
||||
|
|
Загрузка…
Ссылка в новой задаче