Last change
on this file since 471 was 457, checked in by coas-nagasima, 4 years ago |
ファイルを追加
|
-
Property svn:eol-style
set to
native
-
Property svn:mime-type
set to
text/x-chdr;charset=UTF-8
|
File size:
687 bytes
|
Line | |
---|
1 | // Copyright (c) Microsoft. All rights reserved.
|
---|
2 | // Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
---|
3 |
|
---|
4 | #ifndef CONST_DEFINES_H
|
---|
5 | #define CONST_DEFINES_H
|
---|
6 |
|
---|
7 | // Used to remove GCC warning unused
|
---|
8 | #ifdef __GNUC__
|
---|
9 | #define STATIC_VAR_UNUSED __attribute__ ((unused))
|
---|
10 | #else
|
---|
11 | #define STATIC_VAR_UNUSED
|
---|
12 | #endif
|
---|
13 |
|
---|
14 | #ifndef AZURE_UNREFERENCED_PARAMETER
|
---|
15 | #define AZURE_UNREFERENCED_PARAMETER(param) (void)(param)
|
---|
16 | #endif
|
---|
17 |
|
---|
18 | #ifdef _MSC_VER
|
---|
19 | #define AZURE_DEPRECATED __declspec(deprecated)
|
---|
20 | #elif defined(__GNUC__) | defined(__clang__)
|
---|
21 | #define AZURE_DEPRECATED __attribute__((__deprecated__))
|
---|
22 | #else
|
---|
23 | #define AZURE_DEPRECATED
|
---|
24 | #endif
|
---|
25 |
|
---|
26 | #endif // CONST_DEFINES
|
---|
Note:
See
TracBrowser
for help on using the repository browser.