diff options
author | 2013-01-02 16:42:45 +0000 | |
---|---|---|
committer | 2013-01-02 16:42:45 +0000 | |
commit | f4630f15e33d6ab895d8362eb8feb0b5cb466fd4 (patch) | |
tree | 38da996b00a96fad81568abfd8383620c26bd211 /src | |
parent | d76bbe60d507e21c7bfbfea0c04efeecca4dfdce (diff) |
fix portmidi compilation on Xcode 3.2.6 for OSX 10.6.8. no whatsnew.
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/portmidi/ptmacosx_mach.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/portmidi/ptmacosx_mach.c b/src/lib/portmidi/ptmacosx_mach.c index d477e56e771..81832602bf2 100644 --- a/src/lib/portmidi/ptmacosx_mach.c +++ b/src/lib/portmidi/ptmacosx_mach.c @@ -14,7 +14,9 @@ #include "sys/time.h" #include "pthread.h" -//#define NSEC_PER_MSEC 1000000 +#if !defined NSEC_PER_MSEC +#define NSEC_PER_MSEC 1000000ull +#endif #define THREAD_IMPORTANCE 30 static int time_started_flag = FALSE; |