diff options
author | Robert Mustacchi <rm@joyent.com> | 2011-06-14 10:02:42 -0700 |
---|---|---|
committer | Robert Mustacchi <rm@joyent.com> | 2011-06-14 10:03:14 -0700 |
commit | 293086b3aa21e1e5242a8331802bc687dc5bb818 (patch) | |
tree | 36e1c7d09422b26f2a23b991af6d3a7d07395a80 /kvm.h | |
parent | f64b9caa08674b46526095162c1f5fe7d2ef5edf (diff) | |
download | illumos-kvm-293086b3aa21e1e5242a8331802bc687dc5bb818.tar.gz |
HVM-366 Don't lie about requiring GNU C
Diffstat (limited to 'kvm.h')
-rw-r--r-- | kvm.h | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -1,6 +1,18 @@ #ifndef __KVM_H #define __KVM_H +/* + * The userland / kernel interface was initially defined by the Linux KVM + * project. As a part of our efforts to port it, it's important to maintain + * compatibility with the portions of that interface that we implement. A side + * effect of this is that we require GNU extensions to C. Rather than let a + * consumer go crazy trying to understand and track down odd compiler errors, we + * explicitly note that this file is not ISO C. + */ +#ifndef __GNUC__ +#error "The KVM Header files require GNU C extensions for compatability." +#endif + #include <sys/types.h> #include <sys/param.h> #include "kvm_x86.h" |