make fundamental changes in project building

add some makefile.defs
This commit is contained in:
hathach
2012-12-07 01:27:32 +07:00
parent f31ade6151
commit 6049b6d0df
40 changed files with 4359 additions and 4079 deletions

View File

@@ -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__ */