changeset 805:3e6c23786362

* tests/cxxsupp.cxx: don't include <pkgconf/kernel.h> as it's not needed. (cyg_start): CYGINT_ISO_MALLOC needs a #if test.
author jlarmour
date Tue, 29 Apr 2003 22:38:15 +0000
parents ca172a2d1c2e
children e18fd509f6e7
files packages/infra/current/ChangeLog packages/infra/current/tests/cxxsupp.cxx
diffstat 2 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/packages/infra/current/ChangeLog
+++ b/packages/infra/current/ChangeLog
@@ -1,3 +1,9 @@
+2003-04-25  Jonathan Larmour  <jifl@eCosCentric.com>
+
+	* tests/cxxsupp.cxx: don't include <pkgconf/kernel.h> as it's not
+	needed.
+	(cyg_start): CYGINT_ISO_MALLOC needs a #if test.
+
 2003-04-10  Nick Garnett  <nickg@balti.calivar.com>
 
 	* tests/cxxsupp.cxx: Added this test program to check that basic
--- a/packages/infra/current/tests/cxxsupp.cxx
+++ b/packages/infra/current/tests/cxxsupp.cxx
@@ -48,7 +48,6 @@
 //####DESCRIPTIONEND####
 //==========================================================================
 
-#include <pkgconf/kernel.h>
 #include <pkgconf/hal.h>
 #include <pkgconf/isoinfra.h>
 
@@ -139,7 +138,7 @@ cyg_start( void )
     pure->impure_fun1();
     pure->inline_fun1();
 
-#ifdef CYGINT_ISO_MALLOC
+#if CYGINT_ISO_MALLOC
     Derived *derived2 = new Derived(2);
     Pure *pure2 = derived2;