Rename our substitute qsort to pg_qsort at the link-symbol level (but
Tom Lane <tgl@sss.pgh.pa.us>
Rename our substitute qsort to pg_qsort at the link-symbol level (but provide a macro so code can still just say qsort). Avoids linker warnings on pickier platforms such as Darwin, and outright failure on MSVC.
Files
| Path | Change | +/− |
|---|---|---|
| src/include/port.h | modified | +6 −1 |
| src/port/qsort.c | modified | +5 −13 |