summaryrefslogtreecommitdiff
path: root/src/helper/system.h
Commit message (Collapse)AuthorAgeFilesLines
* Clang buildfixesAlex Austin2010-01-291-0/+5
| | | | | | | | | Building with clang took a few very small changes. The change to helper/log.h is because clang doesn't like an expression where the result is unused. In helper/system.h, I just defined true and false since clang doesn't have them builtin. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
* ARM semihosting: fix writing to stdoutSpencer Oliver2010-01-281-0/+2
| | | | | | | | SYS_FLEN would be called before a write on a descriptor to check its size. Currently lseek would fail with -1 when given the stdout/stderr descriptor. Changing to use fstat seems to be the standard way of handling this. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
* remove hacks no longer required to build OpenOCD w/eCosoharboe2009-06-051-0/+8
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@2074 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Include assert.h in system.h to promote tree-wide use of assertions.zwelch2009-05-121-0/+1
| | | | git-svn-id: svn://svn.berlios.de/openocd/trunk@1750 b42882b7-edfa-0310-969c-e2dbd0fdcd60
* Factor system #includes out of replacements.h into new system.h.zwelch2009-05-111-0/+77
git-svn-id: svn://svn.berlios.de/openocd/trunk@1702 b42882b7-edfa-0310-969c-e2dbd0fdcd60