1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 19:42:54 +02:00

There is no reason to #define fd

llvm-svn: 11190
This commit is contained in:
Chris Lattner 2004-02-08 19:33:07 +00:00
parent 66ed5dfe3d
commit ffd16b0190

View File

@ -72,10 +72,9 @@ static void *getMemory(unsigned NumBytes) {
abort();
#endif
int fd = -1;
#if defined(__linux__)
#define fd 0
#else
#define fd -1
fd = 0;
#endif
unsigned mmapFlags = MAP_PRIVATE|MAP_ANONYMOUS;