Hi,

cygwin 1.3.12 (everything upgraded yesterday):
CYGWIN_NT-5.0 WEBMASTER 1.3.12(0.54/3/2) 2002-07-06 02:16 i686 unknown


Small patch needed, for the bundled expat. Otherwise, __imp_ is prepended,
to the symbols and linking fails.

Objections?

Index: ext/xml/expat/expat.h
===================================================================
RCS file: /repository/php4/ext/xml/expat/expat.h,v
retrieving revision 1.3
diff -u -r1.3 expat.h
--- ext/xml/expat/expat.h       27 Sep 2001 00:29:34 -0000      1.3
+++ ext/xml/expat/expat.h       9 Oct 2002 10:51:20 -0000
@@ -10,7 +10,7 @@
  #include "php_compat.h"

  #ifndef XMLPARSEAPI
-#  if defined(__declspec) && !defined(__BEOS__)
+#  if defined(__declspec) && !defined(__BEOS__) && !defined(__CYGWIN__)
  #    define XMLPARSEAPI(type) __declspec(dllimport) type __cdecl
  #  else
  #    define XMLPARSEAPI(type) type



With kind regards,

Melvyn Sopacua
<?php include("not_reflecting_employers_views.txt"); ?>


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to