2019-10-16 20:03:47 +03:00
|
|
|
/*
|
2021-12-31 02:08:43 +03:00
|
|
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
2015-10-27 22:59:27 +03:00
|
|
|
*
|
2018-02-17 05:24:55 +03:00
|
|
|
* This source code is licensed under the MIT license found in the
|
|
|
|
* LICENSE file in the root directory of this source tree.
|
2015-10-27 22:59:27 +03:00
|
|
|
*/
|
|
|
|
|
|
|
|
#define _CONCAT(A, B) A##B
|
|
|
|
#define CONCAT(A, B) _CONCAT(A, B)
|
|
|
|
|
2016-12-09 01:54:53 +03:00
|
|
|
#if !defined(PIC_MODIFIER)
|
|
|
|
#define PIC_MODIFIER
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#define SYMBOL_NAME(name) CONCAT(__USER_LABEL_PREFIX__, name)
|
|
|
|
#define SYMBOL_NAME_PIC(name) CONCAT(SYMBOL_NAME(name), PIC_MODIFIER)
|