mirror of
https://github.com/vishapoberon/compiler.git
synced 2026-04-07 02:12:24 +00:00
Use typedefs rather than defines for basic types.
This commit is contained in:
parent
d3ee82a0c4
commit
5b77460e4f
3 changed files with 46 additions and 35 deletions
|
|
@ -2,8 +2,9 @@
|
|||
//
|
||||
// Includes Windows.h while avoiding conflicts with Oberon types.
|
||||
|
||||
|
||||
#define BOOLEAN _BOOLEAN
|
||||
#define CHAR _CHAR
|
||||
#include <windows.h>
|
||||
#undef BOOLEAN
|
||||
#undef CHAR
|
||||
#include <windows.h>
|
||||
#define BOOLEAN char
|
||||
#define CHAR unsigned char
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue