version.c 626 B

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