version.c 611 B

123456789101112131415161718192021222324252627
  1. static const char version[] = "1.2.1";
  2. /*
  3. * version.c
  4. *
  5. * Copyright 2001-2003, Meiosys (www.meiosys.com). All rights reserved.
  6. *
  7. * See the COPYING file for the terms of usage and distribution.
  8. */
  9. #include "log4c/version.h"
  10. #include "log4c/config.h"
  11. #ifdef HAVE_CONFIG_H
  12. #include "config.h"
  13. #endif
  14. const int log4c_major_version = LOG4C_MAJOR_VERSION;
  15. const int log4c_minor_version = LOG4C_MINOR_VERSION;
  16. const int log4c_micro_version = LOG4C_MICRO_VERSION;
  17. /*******************************************************************************/
  18. extern const char* log4c_version(void)
  19. {
  20. return VERSION;
  21. }