summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--msvc/config.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/msvc/config.h b/msvc/config.h
index 27cfe6c..304fc5c 100644
--- a/msvc/config.h
+++ b/msvc/config.h
@@ -1,5 +1,10 @@
/* config.h. Manual config for MSVC. */
+#ifndef _MSC_VER
+#warn "msvc/config.h shouldn't be included for your development environment."
+#error "Please make sure the msvc/ directory is removed from your build path."
+#endif
+
/* Default visibility */
#define API_EXPORTED /**/