Skip to content

Commit

Permalink
explicit specify to not support WIDE=Y for DOS port
Browse files Browse the repository at this point in the history
* raise error by the preprocessor in the port specific include file
* note in README pointing to DOSVGA port

fixes #290 (by explicit and documented "break")
  • Loading branch information
GitMensch committed May 10, 2023
1 parent 89e3426 commit d07b884
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dos/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ Building
Watcom, specifying "MODEL=f" (flat) will automatically switch to a
32-bit build.

Note: if you want WIDE support use the DOSVGA port instead.

- Optionally, you can build in a different directory than the platform
directory by setting PDCURSES_SRCDIR to point to the directory where
you unpacked PDCurses, and changing to your target directory:
Expand Down
5 changes: 5 additions & 0 deletions dos/pdcdos.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
/* PDCurses */

#include <curspriv.h>

#if defined( PDC_WIDE)
#error DOS port has no WIDE support
#endif

#include <string.h>

/*----------------------------------------------------------------------
Expand Down

0 comments on commit d07b884

Please sign in to comment.