Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
X-Injected-Via-Gmane: http://gmane.org/
To: cygwin@cygwin.com
From: Shankar Unni <shankar@cotagesoft.com>
Subject: Re: #define question
Date: Fri, 01 Aug 2003 12:58:44 -0700
Lines: 12
Message-ID: <bgegp7$aes$1@main.gmane.org>
References: <3F2A2543.9060404@sanger.ac.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Complaints-To: usenet@main.gmane.org
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (Compact)
X-Accept-Language: en-us, en
In-Reply-To: <3F2A2543.9060404@sanger.ac.uk>

Rob Clack wrote:

> [...] either objidl.h isn't 
> getting included at all, though I get no error there, or the macro isn't 
> getting #defined, or it's getting undefined somewhere.  

Are you sure objidl.h isn't included somewhere else above that by some
other file, indirectly?

Best to put your COBJMACROS #define at the top of your .c file (or pass
it in via the "gcc" command line).



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

