summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.c1
-rw-r--r--types.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/main.c b/main.c
index 359588c..e5b493e 100644
--- a/main.c
+++ b/main.c
@@ -8,6 +8,7 @@
/*
TODO:
+make casting to #C type work
use
- use with a decl, e.g. use p : Point;
&&, ||
diff --git a/types.h b/types.h
index 96f474f..903e76a 100644
--- a/types.h
+++ b/types.h
@@ -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