summaryrefslogtreecommitdiff
path: root/shared/consts.h
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2022-05-26 21:52:30 +0200
committerlonkaars <loek@pipeframe.xyz>2022-05-26 21:52:30 +0200
commitedfa25fcd8edad43998f50a2144d30a6f966c1c8 (patch)
treee820241e6983bf314ba312c7fb3ed8d6ae55cbbb /shared/consts.h
parent266fd5ef0c45315fc0bf281a15630a9b4765e68c (diff)
fix configuration on windows
Diffstat (limited to 'shared/consts.h')
-rw-r--r--shared/consts.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/shared/consts.h b/shared/consts.h
index c65e50f..70ab5b2 100644
--- a/shared/consts.h
+++ b/shared/consts.h
@@ -5,6 +5,11 @@
#define W2_BUILD_STR ("????????")
#endif
+#if !defined W2_HOST_WIN32 && !defined W2_HOST_LINUX
+#define W2_HOST_UNKNOWN
+#warning "host operating system unknown"
+#endif
+
/** max logic module execution time in milliseconds */
#define W2_MAX_MODULE_CYCLE_MS (20)
/** serial baud rate (bit/s) */