|
Boost Users : |
From: Cory Nelson (phrosty_at_[hidden])
Date: 2005-05-21 18:07:42
Doesn't have to do with boost but this seems like the croud that would
know how to do this.
I have the code:
#ifdef _WIN32_WINNT
#ifdef _WIN64
#define BUILDTYPE 3000000
#else
#define BUILDTYPE 1000000
#endif
#else
#define BUILDTYPE 2000000
#endif
#define BUILDDATE 50521
#define BUILDNUM (BUILDTYPE+BUILDDATE)
and would like to stringify the value of BUILDNUM into say "2050521"
in the preprocessor. Is there a way to do this (in vc7.1)?
-- Cory Nelson http://www.int64.org
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net