Thread overview | ||||||
---|---|---|---|---|---|---|
|
June 26, 2003 Not picking up #defines from dos.h | ||||
---|---|---|---|---|
| ||||
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 Re: Not picking up #defines from dos.h | ||||
---|---|---|---|---|
| ||||
Posted in reply to Don Messerli | "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 Re: Not picking up #defines from dos.h | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter | 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 Re: Not picking up #defines from dos.h | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter | 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? > > |
Copyright © 1999-2021 by the D Language Foundation