Browse Source

jackd2-get_cycles.patch applied.

git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4000 0c269be4-1314-0410-8aa9-9f06e86f4224
tags/v1.9.6
sletz 16 years ago
parent
commit
8f3aeeb3e1
1 changed files with 14 additions and 0 deletions
  1. +14
    -0
      linux/cycles.h

+ 14
- 0
linux/cycles.h View File

@@ -103,6 +103,20 @@ static inline cycles_t get_cycles (void)

#endif

/* everything else but x86, amd64 or ppc */
#if !defined (__PPC__) && !defined (__x86_64__) && !defined (__i386__)

#warning No suitable get_cycles() implementation. Returning 0 instead

typedef unsigned long long cycles_t;

static inline cycles_t get_cycles(void)
{
return 0;
}

#endif

#endif

#endif /* __jack_cycles_h__ */

Loading…
Cancel
Save