delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT sources DOT redhat DOT com |
Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
From: | "Suhaib M. Siddiqi" <ssiddiqi AT inspirepharm DOT com> |
To: | <cygwin AT sources DOT redhat DOT com> |
Subject: | DECLARE_CYGWIN_DLL |
Date: | Sat, 12 Aug 2000 18:19:53 -0400 |
Message-ID: | <GFECKJEBGCHOBLMKJBGMGEPGCBAA.ssiddiqi@inspirepharm.com> |
MIME-Version: | 1.0 |
X-Priority: | 3 (Normal) |
X-MSMail-Priority: | Normal |
X-Mailer: | Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) |
Importance: | Normal |
X-MimeOLE: | Produced By Microsoft MimeOLE V5.50.4133.2400 |
Untill 1.1.3 I was using the following #include <cygwin/cygwin_dll.h> DECLARE_CYGWIN_DLL(DllMain); int WINAPI DllMain (HANDLE a, DWORD reason, void *q) { return 1; } for building DLLs when compiling Cygwin-Xfree. For Cygwin 1.1.4 all getting: junk.c:2: conflicting types for `_cygwin_dll_entry' junk.c:2: previous declaration of `_cygwin_dll_entry make: *** [junk.o] Error 1 Line 2 is: DECLARE_CYGWIN_DLL(DllMain); I need to get this going today as I have to turn in some patches. I hope someone, who knows more about DLLs, can respond and help quicker. Please CC a copy to me of your reply. Suhaib -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |