version.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. /*
  2. * Copyright [2021] JD.com, Inc.
  3. *
  4. * Licensed under the Apache License, Version 2.0 (the "License");
  5. * you may not use this file except in compliance with the License.
  6. * You may obtain a copy of the License at
  7. *
  8. * http://www.apache.org/licenses/LICENSE-2.0
  9. *
  10. * Unless required by applicable law or agreed to in writing, software
  11. * distributed under the License is distributed on an "AS IS" BASIS,
  12. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. * See the License for the specific language governing permissions and
  14. * limitations under the License.
  15. */
  16. #ifndef __DTC_VERSION_H
  17. #define __DTC_VERSION_H
  18. #define DTC_MAJOR_VERSION 4
  19. #define DTC_MINOR_VERSION 7
  20. #define DTC_BETA_VERSION 1
  21. /*major.minor.beta*/
  22. #define DTC_VERSION "4.7.1"
  23. /* the following show line should be line 11 as line number is used in Makefile
  24. */
  25. #define DTC_GIT_VERSION "7b21244"
  26. #define DTC_VERSION_DETAIL DTC_VERSION "." DTC_GIT_VERSION
  27. extern const char compdatestr[];
  28. extern const char comptimestr[];
  29. extern const char version[];
  30. extern const char version_detail[];
  31. extern long compile_time;
  32. #endif