Fix a typo that caused the #undef directive to not actually undefine
the correct symbol, thus causing a warning with GCC 4.2.0. Committed into the vendor branch since this is already in the csup repository. Reported by: kan (ages ago)
This commit is contained in:
parent
7d6ea92e92
commit
4dccd84c5f
@ -35,7 +35,7 @@
|
||||
#ifndef _QUEUE_H_
|
||||
#define _QUEUE_H_
|
||||
|
||||
#undef __ofsetof
|
||||
#undef __offsetof
|
||||
#define __offsetof(type, field) ((size_t)(&((type *)0)->field))
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user