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:
parent
548f221890
commit
03af971f8e
|
@ -14,6 +14,7 @@
|
|||
#include "sys/time.h"
|
||||
#include "pthread.h"
|
||||
|
||||
#undef NSEC_PER_MSEC
|
||||
#define NSEC_PER_MSEC 1000000
|
||||
#define THREAD_IMPORTANCE 30
|
||||
|
||||
|
|
Loading…
Reference in New Issue