make pre-processor defines for using libc's qsort() consistent

This commit is contained in:
Axel Kohlmeyer
2017-06-20 17:13:42 -04:00
parent ffa906de6f
commit 218bc92c82
2 changed files with 3 additions and 3 deletions

View File

@ -33,7 +33,7 @@ class Dump : protected Pointers {
int comm_forward; // size of forward communication (0 if none)
int comm_reverse; // size of reverse communication (0 if none)
#if defined(LMP_USE_LIBC_QSORT)
#if defined(LMP_QSORT)
// static variable across all Dump objects
static Dump *dumpptr; // holds a ptr to Dump currently being used
#endif
@ -135,7 +135,7 @@ class Dump : protected Pointers {
void pbc_allocate();
void sort();
#if defined(LMP_USE_LIBC_QSORT)
#if defined(LMP_QSORT)
static int idcompare(const void *, const void *);
static int bufcompare(const void *, const void *);
static int bufcompare_reverse(const void *, const void *);

View File

@ -21,7 +21,7 @@ namespace LAMMPS_NS {
class Irregular : protected Pointers {
public:
#if defined(LMP_USE_LIBC_QSORT)
#if defined(LMP_QSORT)
// static variable across all Irregular objects, for qsort callback
static int *proc_recv_copy;