X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=tools%2Fmingw_support.h;h=9e45e64911b6ff9d643f5ab5da285a610a39c2fd;hb=37566090766d61beef70c62986b90749920255d8;hp=1fb6c93824cb56c355d868c49788caef33b925e1;hpb=2a2ed845c085eb093b69fa6382fcf7534bb1f4b0;p=u-boot diff --git a/tools/mingw_support.h b/tools/mingw_support.h index 1fb6c93824..9e45e64911 100644 --- a/tools/mingw_support.h +++ b/tools/mingw_support.h @@ -34,9 +34,6 @@ #define MAP_SHARED 0x01 /* Share changes */ #define MAP_PRIVATE 0x02 /* Changes are private */ -/* Return value of `mmap' in case of an error */ -#define MAP_FAILED ((void *) -1) - /* Windows 64-bit access macros */ #define LODWORD(x) ((DWORD)((DWORDLONG)(x))) #define HIDWORD(x) ((DWORD)(((DWORDLONG)(x) >> 32) & 0xffffffff))