aboutsummaryrefslogtreecommitdiff
path: root/libc/bionic/sched_getaffinity.cpp
diff options
context:
space:
mode:
authorStephen Hines <srhines@google.com>2013-10-11 00:45:24 -0700
committerStephen Hines <srhines@google.com>2013-10-11 12:14:49 -0700
commit6e38072addd556e3894284b5bd040ac64fffa72e (patch)
treee13c1bf92ae30ecd9050b1d519cfd24831442ddf /libc/bionic/sched_getaffinity.cpp
parenteda2679e30b997d036e0ec572cda054adc2ac3a6 (diff)
Wrap sprintf()/snprintf() macros to prevent expansion errors.
Previously, FORTIFY_SOURCE used single macros to define these standard functions for use with clang. This can cause conflicts with other macros used to call these functions, particularly when those macros expand the number of arguments to the function. This change wraps our macro definitions, so that expansion properly takes place for programmer arguments first. Change-Id: I55929b1fd2a643b9d14a17631c4bcab3b0b712cf
Diffstat (limited to 'libc/bionic/sched_getaffinity.cpp')
0 files changed, 0 insertions, 0 deletions