aboutsummaryrefslogtreecommitdiff
path: root/fixincludes/tests
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2013-12-06 08:28:35 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2013-12-06 08:28:35 +0000
commit3fc92e702e2a3a109cacb81416557d550e26ce44 (patch)
treebba0202d063e46f1ca52ae47268984f42a318896 /fixincludes/tests
parent7376f39723c7cbcc0112245964801670f15a12f8 (diff)
downloadgcc-3fc92e702e2a3a109cacb81416557d550e26ce44.zip
gcc-3fc92e702e2a3a109cacb81416557d550e26ce44.tar.gz
gcc-3fc92e702e2a3a109cacb81416557d550e26ce44.tar.bz2
inclhack.def (suse_linux_vt_cxx): New fix for linux/vt.h being not compatible with C++.
2013-12-06 Richard Biener <rguenther@suse.de> * inclhack.def (suse_linux_vt_cxx): New fix for linux/vt.h being not compatible with C++. * tests/base/linux/vt.h: New test. From-SVN: r205729
Diffstat (limited to 'fixincludes/tests')
-rw-r--r--fixincludes/tests/base/linux/vt.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/fixincludes/tests/base/linux/vt.h b/fixincludes/tests/base/linux/vt.h
new file mode 100644
index 0000000..4814ab64
--- /dev/null
+++ b/fixincludes/tests/base/linux/vt.h
@@ -0,0 +1,14 @@
+/* DO NOT EDIT THIS FILE.
+
+ It has been auto-edited by fixincludes from:
+
+ "fixinc/tests/inc/linux/vt.h"
+
+ This had to be done to correct non-standard usages in the
+ original, manufacturer supplied header file. */
+
+
+
+#if defined( SUSE_LINUX_VT_CXX_CHECK )
+unsigned int newev; /* New console (if changing) */
+#endif /* SUSE_LINUX_VT_CXX_CHECK */