4 Feb
2013
4 Feb
'13
5:46 p.m.
Hi, Vladislav! On Feb 03, Vladislav Vaintroub wrote:
Hi Sergei, It is possible.
However, unless it is done conditionally (e.g #ifdef BUILD_MARIADB_AS_RPM), it is likely to break something (e.g odbc) on other (Debian-style) Linuxes.
Oh, I see...
1. Introduce BUILD_MARIADB_AS_RPM preprocessor constant, set to 1 if build with RPM. If BUILD_MARIADB_AS_RPM is set, do rename functions via #define , Redhat-style . 2. Export both original and renamed symbols, as in my patch.
Both are ok to me. Which one would be better, what do you think?
ok, let's keep it your way then Regards, Sergei