summaryrefslogtreecommitdiff
path: root/include/X11/IntrinsicP.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/X11/IntrinsicP.h')
-rw-r--r--include/X11/IntrinsicP.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/X11/IntrinsicP.h b/include/X11/IntrinsicP.h
index bb6570b..f2ded6f 100644
--- a/include/X11/IntrinsicP.h
+++ b/include/X11/IntrinsicP.h
@@ -266,7 +266,12 @@ extern Widget _XtWindowedAncestor( /* internal; implementation-dependent */
Widget /* object */
);
-extern void _XtInherit(
+#if (defined(_WIN32) || defined(__CYGWIN__)) && !defined(LIBXT_COMPILATION)
+__declspec(dllimport)
+#else
+extern
+#endif
+void _XtInherit(
void
);