mirror of
https://github.com/mutouyun/cpp-ipc.git
synced 2025-12-07 01:06:45 +08:00
11 lines
206 B
C
11 lines
206 B
C
#ifndef A0_THREAD_LOCAL_H
|
|
#define A0_THREAD_LOCAL_H
|
|
|
|
#ifdef __cplusplus
|
|
#define A0_THREAD_LOCAL thread_local
|
|
#else
|
|
#define A0_THREAD_LOCAL _Thread_local
|
|
#endif // __cplusplus
|
|
|
|
#endif // A0_THREAD_LOCAL_H
|