git_revision.c 655 B

123456789101112131415161718192021222324
  1. /* Copyright 2001-2004 Roger Dingledine.
  2. * Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson.
  3. * Copyright (c) 2007-2018, The Tor Project, Inc. */
  4. /* See LICENSE for licensing information */
  5. #include "orconfig.h"
  6. #include "lib/log/git_revision.h"
  7. /** String describing which Tor Git repository version the source was
  8. * built from. This string is generated by a bit of shell kludging in
  9. * src/core/include.am, and is usually right.
  10. */
  11. const char tor_git_revision[] =
  12. #ifndef _MSC_VER
  13. #include "micro-revision.i"
  14. #endif
  15. "";
  16. const char tor_bug_suffix[] = " (on Tor " VERSION
  17. #ifndef _MSC_VER
  18. " "
  19. #include "micro-revision.i"
  20. #endif
  21. ")";