This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

glibc version and sched_setaffinity


Hello,

I have not found a glibc-users like list. So I try this one.


In glibc 2.3.3 the sched_*affinity functions take only 2 parameters. All other 2.3.x versions use three parameters.


So I'd like the preprocessor to switch between the two different calls.

The problem is that I can't find a preprocessor variable containing the
"third" version number.

Whats the best way to check with the preprocessor if the system uses
glibc 2.3.3?

Thanks,
Gregor


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]