diff options
Diffstat (limited to 'lib/decoding/osmocom/core/utils.h')
-rw-r--r-- | lib/decoding/osmocom/core/utils.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/decoding/osmocom/core/utils.h b/lib/decoding/osmocom/core/utils.h index 1322860..e142d97 100644 --- a/lib/decoding/osmocom/core/utils.h +++ b/lib/decoding/osmocom/core/utils.h @@ -2,6 +2,15 @@ #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/talloc.h> |