File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,6 +20,9 @@ void usage() {
2020 using namespace std ;
2121 cout << " Usage:" << endl;
2222 cout << " gen_color_map <input.txt> <output.gif>" << endl;
23+ #if defined(_MSC_VER)
24+ printf (" Executable built at %s %s" , __DATE__, __TIME__);
25+ #endif
2326}
2427
2528int main (int argc, char **argv) {
Original file line number Diff line number Diff line change @@ -49,6 +49,9 @@ void usage() {
4949 printf (" \t\t Other versions are not supported yet.\n " );
5050 printf (" \t -v, --verbose\n " );
5151 printf (" \t\t Optional, Turn on verbose output\n " );
52+ #if defined(_MSC_VER)
53+ printf (" Executable built at %s %s" , __DATE__, __TIME__);
54+ #endif
5255}
5356
5457int main (int argc, char **argv) {
Original file line number Diff line number Diff line change @@ -27,6 +27,9 @@ void usage() {
2727 printf (" \t\t Other versions are not supported yet.\n " );
2828 printf (" \t -o, --output OUTPUT\n " );
2929 printf (" \t\t Required, output picture\n " );
30+ #if defined(_MSC_VER)
31+ printf (" Executable built at %s %s" , __DATE__, __TIME__);
32+ #endif
3033}
3134
3235int main (int argc, char **argv) {
You can’t perform that action at this time.
0 commit comments