~ubuntu-branches/debian/sid/jackd2/sid

« back to all changes in this revision

Viewing changes to common/jack/systemdeps.h

  • Committer: Bazaar Package Importer
  • Author(s): Adrian Knoth
  • Date: 2011-03-31 13:54:50 UTC
  • mfrom: (1.1.3 upstream) (2.1.4 experimental)
  • Revision ID: james.westby@ubuntu.com-20110331135450-zafc1di024kzeu31
Tags: 1.9.7~dfsg-1
* New upstream version 1.9.7 (ALSA resume, new latency API)
* Build with --mixed on i386 to be compatible with amd64.
* Don't patch jack_connect for fast consecutive calls anymore, it's now
  using the same code as in jackd1 and waits for the port connection to
  appear.

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
        typedef LONGLONG int64_t;
37
37
        typedef ULONGLONG uint64_t;
38
38
    #endif
39
 
    #ifndef pthread_t
40
 
        typedef HANDLE pthread_t;
41
 
    #endif
 
39
    /**
 
40
     *  to make jack API independent of different thread implementations,
 
41
     *  we define jack_native_thread_t to HANDLE here.
 
42
     */
 
43
    typedef HANDLE jack_native_thread_t;
42
44
#elif __MINGW32__   /* MINGW */
43
45
    #include <stdint.h>
44
46
    #include <sys/types.h>
45
 
    #ifndef pthread_t
46
 
        typedef HANDLE pthread_t;
47
 
    #endif
 
47
    /**
 
48
     *  to make jack API independent of different thread implementations,
 
49
     *  we define jack_native_thread_t to HANDLE here.
 
50
     */
 
51
    typedef HANDLE jack_native_thread_t;
48
52
#else               /* other compilers ...*/
49
53
    #include <inttypes.h>
50
54
    #include <pthread.h>
57
61
    #include <inttypes.h>
58
62
    #include <pthread.h>
59
63
    #include <sys/types.h>
 
64
 
 
65
    /**
 
66
     *  to make jack API independent of different thread implementations,
 
67
     *  we define jack_native_thread_t to pthread_t here.
 
68
     */
 
69
    typedef pthread_t jack_native_thread_t;
 
70
 
60
71
#endif /* __APPLE__ || __linux__ || __sun__ || sun */
61
72
 
62
73
#endif