mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-16 10:39:49 +00:00
WCH FW build fix. Introduce phy_addr for STM32F driver
This commit is contained in:
1 parent
176db1aedb
commit
01b612cff5
13 files changed
+881
-1328
No files matched your search
+3
-1
@@ -1,7 +1,9 @@
|
||||
#include "queue.h"
|
||||
#include "util.h"
|
||||
|
||||
#if defined(__GNUC__) || defined(__clang__)
|
||||
#if (defined(__GNUC__) && (__GNUC__ > 4) || \
|
||||
(defined(__GNUC_MINOR__) && __GNUC__ == 4 && __GNUC_MINOR__ >= 1)) || \
|
||||
defined(__clang__)
|
||||
#define MG_MEMORY_BARRIER() __sync_synchronize()
|
||||
#elif defined(_MSC_VER) && _MSC_VER >= 1700
|
||||
#define MG_MEMORY_BARRIER() MemoryBarrier()
|
||||
|
||||
Reference in new issue
Block a user