]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/basic/macro.h
macro: fix problem with __LINE__ macro expansion
authorLukasz Skalski <l.skalski@partner.samsung.com>
Fri, 22 Nov 2013 13:44:45 +0000 (14:44 +0100)
committerDavid Herrmann <dh.herrmann@gmail.com>
Fri, 22 Nov 2013 13:44:45 +0000 (14:44 +0100)
commitab9cbe342e5550e46731411a7166d3d9f7808adf
tree77359657ab93d275edceda12742e2ca356b0df9b
parent128c3c5881e5708b3f15517ee24dd8c0a1c6307e
macro: fix problem with __LINE__ macro expansion

David:
I already applied a fix for that, but this patch definitely looks nicer. I
changed CONCATENATE_HELPER() -> XCONCATENATE() similar to XSTRINGIFY and
added the UNIQUE() helper.
src/shared/macro.h