From 0d53430d2cb39264810bb839077df7cd860cdd9d Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Wed, 20 Apr 2011 11:19:33 +0000 Subject: [PATCH] 2011-04-20 13:19 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbmxml/hbmxml.hbp * contrib/hbmxml/3rd/minixml/mxml.hbp * contrib/hbmxml/3rd/minixml/config.h + Disabled HAVE_STRDUP so now it's using its own implementation and it's ANSI C89 compliant. --- harbour/ChangeLog | 7 +++++++ harbour/contrib/hbmxml/3rd/minixml/config.h | 2 +- harbour/contrib/hbmxml/3rd/minixml/mxml.hbp | 3 --- harbour/contrib/hbmxml/hbmxml.hbp | 3 --- 4 files changed, 8 insertions(+), 7 deletions(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 993d9a696e..2a01f93d2a 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -16,6 +16,13 @@ The license applies to all entries newer than 2009-04-28. */ +2011-04-20 13:19 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) + * contrib/hbmxml/hbmxml.hbp + * contrib/hbmxml/3rd/minixml/mxml.hbp + * contrib/hbmxml/3rd/minixml/config.h + + Disabled HAVE_STRDUP so now it's using its own implementation + and it's ANSI C89 compliant. + 2011-04-20 13:13 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbmxml/hbmxml.hbp * contrib/hbmxml/3rd/minixml/mxml.hbp diff --git a/harbour/contrib/hbmxml/3rd/minixml/config.h b/harbour/contrib/hbmxml/3rd/minixml/config.h index f21591e422..a149401cd8 100644 --- a/harbour/contrib/hbmxml/3rd/minixml/config.h +++ b/harbour/contrib/hbmxml/3rd/minixml/config.h @@ -69,7 +69,7 @@ * Do we have the strXXX() functions? */ -#define HAVE_STRDUP 1 +/* #define HAVE_STRDUP 1 */ /* diff --git a/harbour/contrib/hbmxml/3rd/minixml/mxml.hbp b/harbour/contrib/hbmxml/3rd/minixml/mxml.hbp index 45d42858b7..3d4e444ca3 100644 --- a/harbour/contrib/hbmxml/3rd/minixml/mxml.hbp +++ b/harbour/contrib/hbmxml/3rd/minixml/mxml.hbp @@ -16,9 +16,6 @@ {win}-cflag=-DWIN32 -DWIN {win|dos|os2}-cflag=-D_EOL_CRLF -# For strdup() --cflag=-std=gnu89{!lngcpp&allgcc} - mxml_att.c mxml_ent.c mxml_fil.c diff --git a/harbour/contrib/hbmxml/hbmxml.hbp b/harbour/contrib/hbmxml/hbmxml.hbp index 317a6ed9b3..253ea73451 100644 --- a/harbour/contrib/hbmxml/hbmxml.hbp +++ b/harbour/contrib/hbmxml/hbmxml.hbp @@ -19,9 +19,6 @@ -instfile=inc:hbmxml.ch -instfile=inc:hbmxml.hbx -# For strdup() --cflag=-std=gnu89{!lngcpp&allgcc} - hbmxml.hbx core.c