Commit e1bfe7cc authored by Aurelio Colosimo's avatar Aurelio Colosimo

trivial: arch-spec/spec.h fixed "redefined macro" warning

parent 13c928e5
......@@ -106,9 +106,13 @@ struct hw_timestamp {
#define DMTD_AVG_SAMPLES 256
#define DMTD_MAX_PHASE 16384
#ifndef NULL
#define NULL 0
#endif
#ifndef offsetof
#define offsetof(TYPE, MEMBER) ((int) &((TYPE *)0)->MEMBER)
#endif
#define REF_CLOCK_PERIOD_PS 8000
#define REF_CLOCK_FREQ_HZ 125000000
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment