Boost logo

Boost :

From: Tobias Schwinger (tschwinger_at_[hidden])
Date: 2006-04-12 07:59:16


Roland Schwarz wrote:
>
> The wollowing DOES NOT WORK:
>
> #define PLATFORM_HEADER(header) PLATFORM_HEADER_DIRECTORYheader>
>

Sure the names are one token -- it even looks sorta strange, doesn't it ;-).

You can use a nullary, function like macro for PLATFOR_HEADER_DIRECTORY to make this variant work, however:

    // [...]
    # define PLATFORM_HEADER_DIRECTORY() <mylib/win32/
    // [...]
    #define PLATFORM_HEADER(header) PLATFORM_HEADER_DIRECTORY()header>

Regards,

Tobias


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk