> I tested the changes on Windows XP and GNU/Linux Debian 7.0.  I did not
> test them on OS X since I do not have access to such a machine.  Likely,
> Emacs will crash or simply fail to compile on such systems.  I'd greatly
> appreciate if someone could help me testing and fixing that.

This breaks the OS X build, as reported in http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16018.