summaryrefslogtreecommitdiffstats
path: root/src/imgui
diff options
context:
space:
mode:
authorAlan Coopersmith <[email protected]>2017-02-11 18:35:55 -0800
committerEric Engestrom <[email protected]>2019-10-16 13:45:57 +0100
commita56c3e3a470eb8f13d11ca0aad5b5934de54ca1c (patch)
tree42d9f60dbe7e24f29552872b44718e2f50a5bcfd /src/imgui
parentddde652e7000a13e3431316ad9ad7d1237552a0b (diff)
util: Make Solaris implemention of p_atomic_add work with gcc
gcc is very particular about where you place the (void) cast The previous placement made it error out with: In file included from disk_cache.c:40:0: ../../src/util/u_atomic.h:203:29: error: void value not ignored as it ought to be #define p_atomic_add(v, i) ((void) \ ^ disk_cache.c:658:4: note: in expansion of macro ‘p_atomic_add’ p_atomic_add(cache->size, size); ^ Signed-off-by: Alan Coopersmith <[email protected]> Reviewed-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'src/imgui')
0 files changed, 0 insertions, 0 deletions