summaryrefslogtreecommitdiffstats
path: root/libc/private/bionic_macros.h
Commit message (Collapse)AuthorAgeFilesLines
* Bionic: Make DISALLOW_COPY_AND_ASSIGN conditionalAndreas Gampe2014-11-111-0/+5
| | | | | | | | | Make the definition of DISALLOW_COPY_AND_ASSIGN conditional. This is so that the projects that include libnativehelper and bionic macros do not have to be careful in which order those projects are included. Bug: 18334516 Change-Id: Ib12a2c2b7ad2e360edcf3b26cb1be626540fadc1
* Refactoring: C++11 style DISABLE_ bionic marcosDmitriy Ivanov2014-09-081-3/+3
| | | | | | | | | Enable the -std=gnu++11 flag for libstdc++ static and dynamic libs. ScopeGuard uses DISABLE_ macros instead of '= delete'; Change-Id: I07e21b306f95fffd49345f7fa136cfdac61e0225
* Fix BIONIC_ROUND_UP_POWER_OF_2 for 64 bit.Christopher Ferris2014-07-151-1/+3
| | | | | | | | | | There were two bugs here: - For 64 bit values, this did not properly round up. - The macro rounded to the power of 2 less than value, not to the power of 2 greater than value. Change-Id: If8cb41536a9d2f5c1bc213676f1e67a7903a36b0
* Move common macros into bionic_macros.h.Christopher Ferris2014-06-181-0/+6
| | | | | Bug: 15590152 Change-Id: I730636613ef3653f68c5ab1d43b53beaf8e0dc25
* Bring in google3-style DISALLOW_* macros.Elliott Hughes2014-05-091-0/+36
I've been meaning to do this for a very long time... Change-Id: Ia8c16eee7c026c3c9505399948485fb778fb0152