cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: FW: ## macro question

From: Bjorn Reese <breese_at_mail1.stofanet.dk>
Date: Mon, 29 Jul 2002 17:45:29 +0000

Priya.Ramakrishnan_at_WellsFargo.COM wrote:

> We compile curl separately with a C compiler. But when we compile our C++
> code we source in the curl headers and link to the curl libs. The sourcing
[...]
> > #if defined(__STDC__) || defined(_MSC_VER)

Append " || defined(__cplusplus)"

The ## macro is valid C++ as well.

-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
Received on 2002-07-29