aboutsummaryrefslogtreecommitdiff
path: root/example
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2019-01-10 19:23:57 +0100
committerHanspeter Portner <dev@open-music-kontrollers.ch>2019-01-10 19:23:57 +0100
commitd8f5e6af19b877b63264e3380e0d007e2d9592e8 (patch)
tree6116f7957ac09dfa03edbdb3ef0233d243eb1a96 /example
parenta183ae6d64d1212d02e8c1c5ebb248e884aeeb02 (diff)
downloadd2tk-d8f5e6af19b877b63264e3380e0d007e2d9592e8.tar.xz
example: don't build file browser on mingw.
Diffstat (limited to 'example')
-rw-r--r--example/example.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/example/example.c b/example/example.c
index a67b688..f36f920 100644
--- a/example/example.c
+++ b/example/example.c
@@ -60,8 +60,8 @@ typedef enum _bar_t {
BAR_PANE,
BAR_FLOWMATRIX,
BAR_METER,
- BAR_BROWSER,
#if !defined(_WIN32) && !defined(__APPLE__)
+ BAR_BROWSER,
BAR_KEYBOARD,
#endif
@@ -76,8 +76,8 @@ static const char *bar_lbl [BAR_MAX] = {
[BAR_PANE] = "Pane",
[BAR_FLOWMATRIX] = "Flowmatrix",
[BAR_METER] = "Meter",
- [BAR_BROWSER] = "Browser",
#if !defined(_WIN32) && !defined(__APPLE__)
+ [BAR_BROWSER] = "Browser",
[BAR_KEYBOARD] = "Keyboard"
#endif
};
@@ -440,6 +440,7 @@ _render_c_meter(d2tk_base_t *base, const d2tk_rect_t *rect)
#undef N
}
+#if !defined(_WIN32) && !defined(__APPLE__)
static int
strcasenumcmp(const char *s1, const char *s2)
{
@@ -680,7 +681,6 @@ _render_c_browser(d2tk_base_t *base, const d2tk_rect_t *rect)
#undef M
}
-#if !defined(_WIN32) && !defined(__APPLE__)
static void
_fake_event(unsigned type, unsigned code, int value)
{