diff options
author | Leo Tenenbaum <pommicket@gmail.com> | 2020-03-20 15:22:01 -0400 |
---|---|---|
committer | Leo Tenenbaum <pommicket@gmail.com> | 2020-03-20 15:22:01 -0400 |
commit | 5d4fa960a020f40aa8a5d24225c81e5c467ce197 (patch) | |
tree | 05c33858f1e2add54af98c865db89a81147ef20b | |
parent | 2ec0ae1a6e8aff872d8fc63f7bd61e925c168afe (diff) |
allow long long if compiled with msvc
-rw-r--r-- | main.c | 1 | ||||
-rw-r--r-- | types.h | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -8,6 +8,7 @@ /* TODO: +make casting to #C type work use - use with a decl, e.g. use p : Point; &&, || @@ -28,7 +28,7 @@ For more information, please refer to <http://unlicense.org/> typedef long double Floating; /* OPTIM: Switch to double, but make sure floating-point literals are right */ -#if __STDC_VERSION__ >= 199901 +#if __STDC_VERSION__ >= 199901 || defined _MSC_VER #define LONGLONG_AVAILABLE 1 typedef long long longlong; #else |