summaryrefslogtreecommitdiff
path: root/lib/libXt/include/X11/IntrinsicP.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libXt/include/X11/IntrinsicP.h')
-rw-r--r--lib/libXt/include/X11/IntrinsicP.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/libXt/include/X11/IntrinsicP.h b/lib/libXt/include/X11/IntrinsicP.h
index bb6570bbf..f2ded6f74 100644
--- a/lib/libXt/include/X11/IntrinsicP.h
+++ b/lib/libXt/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
);