Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
446 B

  1. #ifndef __VERSTAMP_H__
  2. #define __VERSTAMP_H__
  3. #include <verinfo.h>
  4. // Version stamp macros: stamp has format __VERSION_#### = "VVVVVVVVV"
  5. // where #### is the four letter lib ID and VVVVVVVV is the version string
  6. #define GLUESTRING(type, id, lib) type ## id ## lib
  7. #if defined(_SLIB)
  8. #define SETVERSIONSTAMP(x) GLUESTRING(extern char const *, __VERSION_, x) = VERSIONSTR;
  9. #else
  10. #define SETVERSIONSTAMP(x)
  11. #endif
  12. #endif // !__VERSTAMP_H__