Added extern "C" to make it build with JDK6 compilers Reviewed-by: jwilhelm, kvn
Reviewed-by: jmasa, ysr, kvn
Also reviewed by mikael.gerdin@oracle.com; stdlib:qsort() does byte-by-byte swapping on Windows. This leads to pointer shearing. Fix is to implement a quicksort that does full pointer updates. Reviewed-by: never, coleenp, ysr