aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-08-17 10:39:18 -0400
committerDavid Robillard <d@drobilla.net>2022-08-17 13:51:27 -0400
commit7d03e45e693f791b04745f8185614855498bb921 (patch)
treebd2edb0e8f9d32c3647d2342eb3e5aca76ec26b0 /src
parent116f1577bc6ce7262dc46917e48a9c685cbb574a (diff)
downloadjalv-7d03e45e693f791b04745f8185614855498bb921.tar.gz
jalv-7d03e45e693f791b04745f8185614855498bb921.tar.bz2
jalv-7d03e45e693f791b04745f8185614855498bb921.zip
Fix build with build system checks disabled
Diffstat (limited to 'src')
-rw-r--r--src/jalv_config.h24
1 files changed, 18 insertions, 6 deletions
diff --git a/src/jalv_config.h b/src/jalv_config.h
index 1587d17..04bb7cc 100644
--- a/src/jalv_config.h
+++ b/src/jalv_config.h
@@ -45,14 +45,18 @@
// POSIX.1-2001: fileno()
# ifndef HAVE_FILENO
# if defined(_POSIX_VERSION) && _POSIX_VERSION >= 200112L
-# define HAVE_FILENO
+# define HAVE_FILENO 1
+# else
+# define HAVE_FILENO 0
# endif
# endif
// POSIX.1-2001: isatty()
# ifndef HAVE_ISATTY
# if defined(_POSIX_VERSION) && _POSIX_VERSION >= 200112L
-# define HAVE_ISATTY
+# define HAVE_ISATTY 1
+# else
+# define HAVE_ISATTY 0
# endif
# endif
@@ -77,7 +81,9 @@
// POSIX.1-2001: sigaction()
# ifndef HAVE_SIGACTION
# if defined(_POSIX_VERSION) && _POSIX_VERSION >= 200112L
-# define HAVE_SIGACTION
+# define HAVE_SIGACTION 1
+# else
+# define HAVE_SIGACTION 0
# endif
# endif
@@ -85,7 +91,9 @@
# ifndef HAVE_SUIL
# ifdef __has_include
# if __has_include("suil/suil.h")
-# define HAVE_SUIL
+# define HAVE_SUIL 1
+# else
+# define HAVE_SUIL 0
# endif
# endif
# endif
@@ -94,7 +102,9 @@
# ifndef HAVE_JACK_METADATA
# ifdef __has_include
# if __has_include("jack/metadata.h")
-# define HAVE_JACK_METADATA
+# define HAVE_JACK_METADATA 1
+# else
+# define HAVE_JACK_METADATA 0
# endif
# endif
# endif
@@ -103,7 +113,9 @@
# ifndef HAVE_JACK_PORT_TYPE_GET_BUFFER_SIZE
# ifdef __has_include
# if __has_include("jack/midiport.h")
-# define HAVE_JACK_PORT_TYPE_GET_BUFFER_SIZE
+# define HAVE_JACK_PORT_TYPE_GET_BUFFER_SIZE 1
+# else
+# define HAVE_JACK_PORT_TYPE_GET_BUFFER_SIZE 0
# endif
# endif
# endif