Hi,

please change tests for libc functionality to
test libc variant, not kernel.

Petr

--- src/pHash.cpp
+++ src/pHash.cpp
@@ -34,7 +34,7 @@
 int ph_num_threads()
 {
        int numCPU = 1;
-       #ifdef linux
+       #ifdef __GLIBC__
                numCPU = sysconf( _SC_NPROCESSORS_ONLN );
        #else
                nt mib[4];
@@ -1098,7 +1098,7 @@
        m->branchfactor = 2;
        m->pathlength = 5;
        m->leafcapacity = 23;
-       #ifdef linux
+       #ifdef __GLIBC__
                m->pgsize = sysconf(_SC_PAGE_SIZE);
        #else
                m->pgsize = getpagesize();




--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to