make fundamental changes in project building
add some makefile.defs
This commit is contained in:
@@ -133,8 +133,9 @@ typedef enum
|
||||
} ErrorCode_t;
|
||||
|
||||
|
||||
|
||||
#ifndef offsetof
|
||||
#define offsetof(s,m) (int)&(((s *)0)->m)
|
||||
#endif
|
||||
#define COMPILE_TIME_ASSERT(pred) switch(0){case 0:case pred:;}
|
||||
|
||||
#endif /* __LPC_ERROR_H__ */
|
||||
|
||||
Reference in New Issue
Block a user