Thread overview
Not picking up #defines from dos.h
Jun 26, 2003
Don Messerli
Jun 26, 2003
Walter
Jun 26, 2003
Don Messerli
Jun 26, 2003
Don Messerli
June 26, 2003
When I include <dos.h> in a source file and compile with the -mld switch, I get errors for common defines like MK_FP and struct dosdate_t.  I see that their in the include file.  I expect their not being defined because of one of the conditionals in the header file.  Is there something I need to define before including dos.h?



Thanks,
Don


June 26, 2003
"Don Messerli" <Don_member@pathlink.com> wrote in message news:bdf46k$1tmm$1@digitaldaemon.com...
> When I include <dos.h> in a source file and compile with the -mld switch,
I get
> errors for common defines like MK_FP and struct dosdate_t.  I see that
their in
> the include file.  I expect their not being defined because of one of the conditionals in the header file.  Is there something I need to define
before
> including dos.h?

It works when I try it. What's the exact command line you use?


June 26, 2003
In article <bdf6mp$20c7$1@digitaldaemon.com>, Walter says...
>
>
>"Don Messerli" <Don_member@pathlink.com> wrote in message news:bdf46k$1tmm$1@digitaldaemon.com...
>> When I include <dos.h> in a source file and compile with the -mld switch,
>I get
>> errors for common defines like MK_FP and struct dosdate_t.  I see that
>their in
>> the include file.  I expect their not being defined because of one of the conditionals in the header file.  Is there something I need to define
>before
>> including dos.h?
>
>It works when I try it. What's the exact command line you use?
>
>


June 26, 2003
In article <bdf6mp$20c7$1@digitaldaemon.com>, Walter says...
>
>
>"Don Messerli" <Don_member@pathlink.com> wrote in message news:bdf46k$1tmm$1@digitaldaemon.com...
>> When I include <dos.h> in a source file and compile with the -mld switch,
>I get
>> errors for common defines like MK_FP and struct dosdate_t.  I see that
>their in
>> the include file.  I expect their not being defined because of one of the conditionals in the header file.  Is there something I need to define
>before
>> including dos.h?
>
>It works when I try it. What's the exact command line you use?
>
>