Rely on jack_native_thread_t definition from systemdeps.h

types.h:
Remove the definition of `jack_native_thread_t` as we will be relying on
the one from systemdeps.h.

{jack,thread}.h:
Include systemdeps.h for definition of `jack_native_thread_t`.
This commit is contained in:
David Runge 2021-12-12 23:18:29 +01:00 committed by Filipe Coelho
parent 50fa022e27
commit 4e53c8f0a3
3 changed files with 2 additions and 7 deletions

1
jack.h
View File

@ -25,6 +25,7 @@
extern "C" {
#endif
#include <jack/systemdeps.h>
#include <jack/types.h>
#include <jack/transport.h>

View File

@ -25,6 +25,7 @@ extern "C" {
#endif
#include <pthread.h>
#include <jack/systemdeps.h>
#include <jack/weakmacros.h>
#include <jack/types.h>

View File

@ -96,13 +96,6 @@ typedef struct _jack_client jack_client_t;
*/
typedef uint32_t jack_port_id_t;
/**
* to make jack API independent of different thread implementations,
* we define jack_native_thread_t to pthread_t here.
* (all platforms that jack1 runs on, have pthread)
*/
typedef pthread_t jack_native_thread_t;
/**
* @ref jack_options_t bits
*/