summaryrefslogtreecommitdiff
path: root/support/dktools/dk4wxcs.cross
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /support/dktools/dk4wxcs.cross
Initial commit
Diffstat (limited to 'support/dktools/dk4wxcs.cross')
-rw-r--r--support/dktools/dk4wxcs.cross37
1 files changed, 37 insertions, 0 deletions
diff --git a/support/dktools/dk4wxcs.cross b/support/dktools/dk4wxcs.cross
new file mode 100644
index 0000000000..1b3a46a143
--- /dev/null
+++ b/support/dktools/dk4wxcs.cross
@@ -0,0 +1,37 @@
+
+#ifndef DK4WXCS_H_INCLUDED
+
+/** Protection against multiple inclusions.
+*/
+#define DK4WXCS_H_INCLUDED 1
+
+
+#include "dk4conf.h"
+
+#if DK4_HAVE_WXWIDGETS
+
+#include "wx/wxprec.h"
+#ifdef __BORLANDC__
+#pragma hdrstop
+#endif
+#ifndef WX_PRECOMP
+#include "wx/wx.h"
+#endif
+
+#if wxUSE_UNICODE
+#define DK4_SIZEOF_WXCHAR 2
+#else
+#define DK4_SIZEOF_WXCHAR 1
+#endif
+
+#else
+/* if DK4_HAVE_WXWIDGETS */
+
+#define DK4_SIZEOF_WXCHAR 0
+
+#endif
+/* if DK4_HAVE_WXWIDGETS */
+
+#endif
+/* DK4WXCS_H_INCLUDED */
+