Mercurial > projects > ldc
comparison dmd/cond.c @ 1387:5855958073a9
Added new FreeBSD and Solaris predefined version identifiers.
author | Tomas Lindquist Olsen <tomas.l.olsen gmail com> |
---|---|
date | Sun, 17 May 2009 17:10:26 +0200 |
parents | 8026319762be |
children | 44b145be2ef5 |
comparison
equal
deleted
inserted
replaced
1386:402bffb1b356 | 1387:5855958073a9 |
---|---|
143 "none", | 143 "none", |
144 | 144 |
145 // LDC | 145 // LDC |
146 "LLVM", "LDC", "LLVM64", | 146 "LLVM", "LDC", "LLVM64", |
147 "PPC", "PPC64", | 147 "PPC", "PPC64", |
148 "darwin", | 148 "darwin","solaris","freebsd" |
149 }; | 149 }; |
150 | 150 |
151 for (unsigned i = 0; i < sizeof(reserved) / sizeof(reserved[0]); i++) | 151 for (unsigned i = 0; i < sizeof(reserved) / sizeof(reserved[0]); i++) |
152 { | 152 { |
153 if (strcmp(ident, reserved[i]) == 0) | 153 if (strcmp(ident, reserved[i]) == 0) |