I'm sure I'm about to display my ignorance of C but:

Is there a way to override the values find in a .h file from the command line? Specifically, I want to pass along a couple defines to set the MYSQL_MASTER_PASSWD and related fields from vmysql.h without having to edit the vmysql.h file itself. It seems I recall a way to do that.

Failing that, I'll just parse the the file in Perl. That just seems a kludgey way to do it.


Reply via email to