Mercurial > projects > ldc
comparison dmd/attrib.c @ 571:cbd6c8073a32
Changed all '#if linux || __APPLE__' to '#if POSIX' so we can support other platforms too, thanx for the suggestion anders.
author | Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
---|---|
date | Tue, 02 Sep 2008 23:10:12 +0200 |
parents | f79bbd1d0b27 |
children | 50383e476c7e |
comparison
equal
deleted
inserted
replaced
568:f75b16f1e405 | 571:cbd6c8073a32 |
---|---|
12 #include <stdlib.h> | 12 #include <stdlib.h> |
13 #include <assert.h> | 13 #include <assert.h> |
14 | 14 |
15 #if _WIN32 || IN_GCC || IN_LLVM | 15 #if _WIN32 || IN_GCC || IN_LLVM |
16 #include "mem.h" | 16 #include "mem.h" |
17 #elif linux || __APPLE__ | 17 #elif POSIX |
18 #include "../root/mem.h" | 18 #include "../root/mem.h" |
19 #endif | 19 #endif |
20 | 20 |
21 #include "init.h" | 21 #include "init.h" |
22 #include "declaration.h" | 22 #include "declaration.h" |