X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fglobal-ctor.hh;h=62c4ce8c69ce1d5294a8ff1283226a5e253f7aee;hb=47db9a3883d726ca53e2133a3b2298f78dd6a32e;hp=4e4b3b3da2ab55534636b14782ffd1e8258a93d2;hpb=55ac733b69643a6bc6a83b706c65cb56efd388ef;p=lilypond.git diff --git a/lily/include/global-ctor.hh b/lily/include/global-ctor.hh index 4e4b3b3da2..62c4ce8c69 100644 --- a/lily/include/global-ctor.hh +++ b/lily/include/global-ctor.hh @@ -1,7 +1,7 @@ /* This file is part of LilyPond, the GNU music typesetter. - Copyright (C) 1999--2011 Han-Wen Nienhuys + Copyright (C) 1999--2015 Han-Wen Nienhuys LilyPond is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -20,15 +20,15 @@ #ifndef GLOBAL_CTOR_HH #define GLOBAL_CTOR_HH -#define ADD_GLOBAL_CTOR_WITHNAME(y, x) \ - class Global_ctor_ ## y \ - { \ - public: \ - Global_ctor_ ## y () \ - { \ - add_constructor (x); \ - } \ - } \ +#define ADD_GLOBAL_CTOR_WITHNAME(y, x) \ + class Global_ctor_ ## y \ + { \ + public: \ + Global_ctor_ ## y () \ + { \ + add_constructor (x); \ + } \ + } \ _ ## y ## _ctor_init; #define ADD_GLOBAL_CTOR(x) ADD_GLOBAL_CTOR_WITHNAME (x, x);