Yes, it works! Thanx.
I do not edit the lines manually. It was a pain, so I decided to automate all the changes and the compiling process. mame.c is not the only file I modify (for instance driver.h, win32ui.c, etc). I've made a menu under DOS with a big batch file that allow me to prepare the compilation, delete the compilation, apply changes, do it everything at once... I can do it with just one key. The downloaded sources and the modified files are stored in a folder and also the text replacements within files are previously programmed. The menu automatically compiles and moves the binaries to my MAME folder, as well as update the snaps, mameinfo, history, clrmame dats. Everything is hidden to the user and everything is clean an easy. It took me many days to program it, but now it's very confortable everytime I need to compile a new version.