diff options
author | Pete Batard <pbatard@gmail.com> | 2010-03-03 02:56:27 +0000 |
---|---|---|
committer | Pete Batard <pbatard@gmail.com> | 2010-03-03 02:56:27 +0000 |
commit | 9ac1a90bdf5b6814eecf8d44d03b6ef580149174 (patch) | |
tree | e6d26c4a17d076820405f1f43945b3dab3cb4f2d | |
parent | b25d4fd10ce442b3b0c3e4cc629fa4970682d592 (diff) | |
download | libusb-9ac1a90bdf5b6814eecf8d44d03b6ef580149174.tar.gz |
added msvc/config.h inclusion error for MinGW/cygwinr187
-rw-r--r-- | msvc/config.h | 5 |
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 /**/ |