1. Ragnara
  2. buildcounter

Commits

Ragnara  committed ef3fac5

Print __DATE__

  • Participants
  • Parent commits f998173
  • Branches master

Comments (0)

Files changed (2)

File buildcounter.c

View file
 void print_usage(const char *argv0)
 {
     fprintf(stderr, "Usage: %s <filename>\n", argv0);
-    fprintf(stderr, "Build: %d\n", BUILDNO);
+    fprintf(stderr, "Build: %d (%s)\n", BUILDNO, __DATE__);
     exit(1);
 }
 

File buildno.h

View file
-#define BUILDNO 5
+#define BUILDNO 6