Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 527788 | Differences between
and this patch

Collapse All | Expand All

(-)a/src/os/linux/os.c (-3 / +3 lines)
Lines 31-39 Link Here
31
#include "../../jam.h"
31
#include "../../jam.h"
32
32
33
void *nativeStackBase() {
33
void *nativeStackBase() {
34
#ifdef __UCLIBC__
34
#ifdef __GLIBC__
35
    return NULL;
36
#else
37
    pthread_attr_t attr;
35
    pthread_attr_t attr;
38
    void *addr;
36
    void *addr;
39
    size_t size;
37
    size_t size;
Lines 42-47 void *nativeStackBase() { Link Here
42
    pthread_attr_getstack(&attr, &addr, &size);
40
    pthread_attr_getstack(&attr, &addr, &size);
43
41
44
    return addr+size;
42
    return addr+size;
43
#else
44
    return NULL;
45
#endif
45
#endif
46
}
46
}
47
47

Return to bug 527788