SPEAr: Enable CONFIG_SYS_FLASH_EMPTY_INFO macro
[oweals/u-boot.git] / tools / mingw_support.h
index 1fb6c93824cb56c355d868c49788caef33b925e1..ee07290b5a2961a76378a06ec5a07b84c566c003 100644 (file)
@@ -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))
@@ -47,5 +44,7 @@ typedef       ULONG   ulong;
 int fsync(int fd);
 void *mmap(void *, size_t, int, int, int, int);
 int munmap(void *, size_t);
+char *strtok_r(char *s, const char *delim, char **save_ptr);
+#include "getline.h"
 
 #endif /* __MINGW_SUPPORT_H_ */