From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32668 invoked by alias); 22 May 2004 01:12:31 -0000 Mailing-List: contact pthreads-win32-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: pthreads-win32-owner@sources.redhat.com Received: (qmail 32576 invoked from network); 22 May 2004 01:12:29 -0000 Received: from unknown (HELO callisto.canberra.edu.au) (137.92.14.50) by sourceware.org with SMTP; 22 May 2004 01:12:29 -0000 Received: from callisto.canberra.edu.au (nyx.canberra.edu.au [137.92.14.55]) by callisto.canberra.edu.au (8.11.6/8.11.6) with ESMTP id i4M1CQ010373 for ; Sat, 22 May 2004 11:12:26 +1000 Message-ID: <40AEA7F3.2030507@callisto.canberra.edu.au> Date: Sat, 22 May 2004 01:12:00 -0000 From: Ross Johnson Reply-To: rpj@callisto.canberra.edu.au User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7b) Gecko/20040421 MIME-Version: 1.0 To: pthreads-win32@sources.redhat.com Subject: Re: Compiling pthreads under windows CE with eVC++ References: <2890.128.2.186.98.1085090033.squirrel@webmail.andrew.cmu.edu> <01e201c43f1f$8a23e200$0901a8c0@test> In-Reply-To: <01e201c43f1f$8a23e200$0901a8c0@test> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004/txt/msg00070.txt.bz2 I look's like PAPCFUNC isn't defined via windows.h for the WinCE cross-compilers. Either that or defining _WIN32_WINNT to 0x400 doesn't make sense for WinCE. Anyway, my suggestion to Phillip was to look in MSVC's windef.h (I don't have it at hand) and copy the definition into implement.h. E.g. implement.h should look something like this if I recall correctly:- #include #ifndef PAPCFUNC # define PAPCFUNC (void CALLBACK (*)(DWORD)) #endif And then hopefully CALLBACK is defined. If this doesn't work then someone please let me know because I'll need to re-arrange the code for WinCE. Does WinCE support APC? Pthreads-win32 is assuming it does (by expecting these macros to be defined) even if it doesn't get used. Cheers. Ross James Ewing wrote: >Phillip Cuadra wrote - > >"I'm trying to build the .dll for pthreads under MS eVC++ 4.0 for Windows >CE 4 (Pocket PC 2003) on an ARM processor (the IPAQ 5555). " >------------- > >This thread may help in getting WINCE pthreads to compile - > >http://sources.redhat.com/ml/pthreads-win32/2003/msg00101.html > >James Ewing > > >