Mercurial > projects > ldc
changeset 1370:a9b60bc559fa
Remove a macro-redefinition warning
author | Frits van Bommel <fvbommel wxs.nl> |
---|---|
date | Sat, 16 May 2009 23:00:56 +0200 |
parents | dd5dbe7b3923 |
children | 967d28b7febe |
files | dmd/root/root.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
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>