-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
(Fixes #788)
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,9 +16,12 @@ | |
#include "stlink/mmap.h" | ||
#include "stlink/logging.h" | ||
|
||
#ifndef _WIN32 | ||
#define O_BINARY 0 //! @todo get rid of this OH MY (@xor-gate) | ||
#if defined _WIN32 || defined _WIN64 // for Windows i386 or x86-64 | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
Nightwalker-87
Author
Member
|
||
#ifndef O_BINARY | ||
#define O_BINARY 0 | ||
#endif | ||
#endif | ||
|
||
#ifdef _MSC_VER | ||
#define __attribute__(x) | ||
#endif | ||
|
there is no need to check _WIN32 and _WIN64
_WIN32 defined for both i386 and x64