HuoLanguage / huo

interpreted language written in C
MIT License
212 stars 21 forks source link

BOOL, FLOAT, LONG being re-declared on Windows #58

Open snordgren opened 7 years ago

snordgren commented 7 years ago

When compiling on Windows, the Windows.h header is included. This header already defines the BOOL, FLOAT, and LONG types that are defined in value.h as enum Value_type. In order to make use of Windows.h functions, used in path_utils.c, they must be renamed.

snordgren commented 7 years ago

I have solved this and a few other issues with running on Windows. See my pull request.