summaryrefslogtreecommitdiff
path: root/msvc
diff options
context:
space:
mode:
authorPete Batard <pbatard@gmail.com>2010-03-06 00:15:19 +0000
committerPete Batard <pbatard@gmail.com>2010-03-06 00:15:19 +0000
commitd4a736d822a6a7e8494f4055e77c188c53c1fa2f (patch)
tree9fdf7abab25d45406ac13983769b02ed9d6610f8 /msvc
parentd7aabf0bb0f418a68bf8ac857f7bfc122fd46a67 (diff)
downloadlibusb-d4a736d822a6a7e8494f4055e77c188c53c1fa2f.tar.gz
merged r197a161
Diffstat (limited to 'msvc')
-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 /**/