Mercurial > projects > ldc
diff dmd/root/root.c @ 1370:a9b60bc559fa
Remove a macro-redefinition warning
author | Frits van Bommel <fvbommel wxs.nl> |
---|---|
date | Sat, 16 May 2009 23:00:56 +0200 |
parents | 8026319762be |
children | 17268b0a3ab0 |
line wrap: on
line diff
--- a/dmd/root/root.c Sat May 16 22:27:31 2009 +0200 +++ b/dmd/root/root.c Sat May 16 23:00:56 2009 +0200 @@ -7,7 +7,9 @@ // in artistic.txt, or the GNU General Public License in gnu.txt. // See the included readme.txt for details. +#ifndef POSIX #define POSIX (linux || __APPLE__ || __FreeBSD__ || __sun&&__SVR4) +#endif #include <stdio.h> #include <stdlib.h>