Skip to content
Snippets Groups Projects
Commit 218bc92c authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

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

parent ffa906de
No related branches found
No related tags found
No related merge requests found
...@@ -33,7 +33,7 @@ class Dump : protected Pointers { ...@@ -33,7 +33,7 @@ class Dump : protected Pointers {
int comm_forward; // size of forward communication (0 if none) int comm_forward; // size of forward communication (0 if none)
int comm_reverse; // size of reverse 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 variable across all Dump objects
static Dump *dumpptr; // holds a ptr to Dump currently being used static Dump *dumpptr; // holds a ptr to Dump currently being used
#endif #endif
...@@ -135,7 +135,7 @@ class Dump : protected Pointers { ...@@ -135,7 +135,7 @@ class Dump : protected Pointers {
void pbc_allocate(); void pbc_allocate();
void sort(); void sort();
#if defined(LMP_USE_LIBC_QSORT) #if defined(LMP_QSORT)
static int idcompare(const void *, const void *); static int idcompare(const void *, const void *);
static int bufcompare(const void *, const void *); static int bufcompare(const void *, const void *);
static int bufcompare_reverse(const void *, const void *); static int bufcompare_reverse(const void *, const void *);
......
...@@ -21,7 +21,7 @@ namespace LAMMPS_NS { ...@@ -21,7 +21,7 @@ namespace LAMMPS_NS {
class Irregular : protected Pointers { class Irregular : protected Pointers {
public: public:
#if defined(LMP_USE_LIBC_QSORT) #if defined(LMP_QSORT)
// static variable across all Irregular objects, for qsort callback // static variable across all Irregular objects, for qsort callback
static int *proc_recv_copy; static int *proc_recv_copy;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment