lib-src/portmidi/porttime: fix warning about macro redefinition...

... there is a difference in the type, not the value, of the constant defined
by the two versions of the macro.  See clock_types.h in the Mac SDK:

define NSEC_PER_MSEC   1000000ull      /* nanoseconds per millisecond */
This commit is contained in:
Paul Licameli 2018-11-13 08:26:12 -05:00
parent 548f221890
commit 03af971f8e
1 changed files with 1 additions and 0 deletions

View File

@ -14,6 +14,7 @@
#include "sys/time.h"
#include "pthread.h"
#undef NSEC_PER_MSEC
#define NSEC_PER_MSEC 1000000
#define THREAD_IMPORTANCE 30