diff options
| author | Joe Soroka <gits@joesoroka.com> | 2011-02-01 15:26:21 -0800 |
|---|---|---|
| committer | Joe Soroka <gits@joesoroka.com> | 2011-02-01 15:26:21 -0800 |
| commit | a25325e9be13e52a198807b443bdfbfbe5dcaf33 (patch) | |
| tree | 92e02d5a2c6c9eca733506a7ec86678d258c4e21 /tests | |
| parent | 75c6695932b55b914f16b20dc32ff3ef1203ed4b (diff) | |
| download | tinycc-a25325e9be13e52a198807b443bdfbfbe5dcaf33.tar.gz tinycc-a25325e9be13e52a198807b443bdfbfbe5dcaf33.tar.bz2 | |
tccasm: define __ASSEMBLER__ for .S files, like gcc does
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/asmtest.S | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/asmtest.S b/tests/asmtest.S index f6fecde..0d4c0fc 100644 --- a/tests/asmtest.S +++ b/tests/asmtest.S @@ -564,3 +564,7 @@ int $0x10 pushl $1 pushw $1 push $1 + +#ifdef __ASSEMBLER__ // should be defined, for S files + inc %eax +#endif |
