From: "Robert ARSENIUK" To: Subject: Odp: i've just started using Djgpp and.... Date: Wed, 17 Feb 1999 15:52:56 +0100 Message-ID: <01be5a85$342458a0$0113010a@robi1.jmpolska.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.71.1712.3 X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3 Reply-To: djgpp AT delorie DOT com >Hello folks, >i'm new to using DJGPP and have found a little problem. > >earlier i wrote a text screen designer using borland c++ v3 for dos > >and i've now come to use it with DJGPP...i found that it didn't like headers >like 'alloc.h' etc > >how can i get around this sort of problem ? > >TIA > > If you are using functions like malloc, calloc e.t.c., include memory.h You can do it like this : #if defined( BORLANDC ) #include #else #include #endif Robert