Define __attribute__ and __deprecated__ on MSWin
This commit is contained in:
parent
86c9164000
commit
b1e67fe527
|
@ -2,6 +2,15 @@
|
||||||
|
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
|
||||||
|
#if (defined(_WIN16) || defined(_WIN32) || defined(_WIN64)) && !defined(__WINDOWS__)
|
||||||
|
# define __WINDOWS__
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef __WINDOWS__
|
||||||
|
# define __attribute__(_arg_)
|
||||||
|
# define __deprecated__
|
||||||
|
#endif
|
||||||
|
|
||||||
//#include <osmocom/core/backtrace.h>
|
//#include <osmocom/core/backtrace.h>
|
||||||
//#include <osmocom/core/talloc.h>
|
//#include <osmocom/core/talloc.h>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue