OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // These helpers allow to avoid the use of an #ifdef when the code can | 5 // These helpers allow to avoid the use of an #ifdef when the code can |
6 // compile without them. Thanks to compiler optimizations, the final generated | 6 // compile without them. Thanks to compiler optimizations, the final generated |
7 // binary should look the same when using these. | 7 // binary should look the same when using these. |
8 | 8 |
9 #ifndef BUILD_BUILD_CONFIG_FUNCTIONS_H_ | 9 #ifndef BUILD_BUILD_CONFIG_FUNCTIONS_H_ |
10 #define BUILD_BUILD_CONFIG_FUNCTIONS_H_ | 10 #define BUILD_BUILD_CONFIG_FUNCTIONS_H_ |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 #else | 101 #else |
102 return false; | 102 return false; |
103 #endif | 103 #endif |
104 } | 104 } |
105 | 105 |
106 } // namespace. | 106 } // namespace. |
107 | 107 |
108 } // namespace build. | 108 } // namespace build. |
109 | 109 |
110 #endif // BUILD_BUILD_CONFIG_FUNCTIONS_H_ | 110 #endif // BUILD_BUILD_CONFIG_FUNCTIONS_H_ |
OLD | NEW |