4 years, 9 months ago.

Preprocessor macro to get revision

Is there a preprocessor macro to use in order to build a string with the current file (or library) revision?

Thanks, A.

Question relating to:

1 Answer

4 years, 9 months ago.

Not quite what you want but __DATE__ and __TIME__ are c strings representing the time and date that the current file was last saved.

Yeah, I know about DATE and TIME and using these is my "Plan B". Anyway, thanks for the suggestion.

posted by Andrea Coccon 08 Oct 2015