cpp-d1064d
[cross.git] / i686-linux-gnu-4.7 / usr / include / x86_64-linux-gnu / bits / types / sigval_t.h
diff --git a/i686-linux-gnu-4.7/usr/include/x86_64-linux-gnu/bits/types/sigval_t.h b/i686-linux-gnu-4.7/usr/include/x86_64-linux-gnu/bits/types/sigval_t.h
new file mode 100644 (file)
index 0000000..a05d7f4
--- /dev/null
@@ -0,0 +1,18 @@
+#ifndef __sigval_t_defined
+#define __sigval_t_defined
+
+#include <bits/types/__sigval_t.h>
+
+/* To avoid sigval_t (not a standard type name) having C++ name
+   mangling depending on whether the selected standard includes union
+   sigval, it should not be defined at all when using a standard for
+   which the sigval name is not reserved; in that case, headers should
+   not include <bits/types/sigval_t.h> and should use only the
+   internal __sigval_t name.  */
+#ifndef __USE_POSIX199309
+# error "sigval_t defined for standard not including union sigval"
+#endif
+
+typedef __sigval_t sigval_t;
+
+#endif