mirror of
https://xff.cz/git/u-boot/
synced 2025-09-29 06:21:15 +02:00
tools: clean up mingw ifdefs
We have a header file specifically for mingw cruft, so keep it there to avoid crap spreading into the main tools. This lets our devs just worry about *nix systems. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
committed by
Wolfgang Denk
parent
6705e036ce
commit
4f7136e7c5
@@ -34,6 +34,14 @@
|
||||
#define MAP_SHARED 0x01 /* Share changes */
|
||||
#define MAP_PRIVATE 0x02 /* Changes are private */
|
||||
|
||||
/* File perms */
|
||||
#ifndef S_IRGRP
|
||||
# define S_IRGRP 0
|
||||
#endif
|
||||
#ifndef S_IWGRP
|
||||
# define S_IWGRP 0
|
||||
#endif
|
||||
|
||||
/* Windows 64-bit access macros */
|
||||
#define LODWORD(x) ((DWORD)((DWORDLONG)(x)))
|
||||
#define HIDWORD(x) ((DWORD)(((DWORDLONG)(x) >> 32) & 0xffffffff))
|
||||
|
Reference in New Issue
Block a user