mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-05-14 01:29:19 +08:00
DISPATCH(3): Assume static linking
This commit is contained in:
parent
5cd6a535a8
commit
a531ba43ea
@ -109,8 +109,12 @@ static pthread_rwlock_t nss_lock = PTHREAD_RWLOCK_INITIALIZER;
|
||||
/*
|
||||
* Runtime determination of whether we are dynamically linked or not.
|
||||
*/
|
||||
#ifndef __rtems__
|
||||
extern int _DYNAMIC __attribute__ ((weak));
|
||||
#define is_dynamic() (&_DYNAMIC != NULL)
|
||||
#else /* __rtems__ */
|
||||
#define is_dynamic() 0
|
||||
#endif /* __rtems__ */
|
||||
|
||||
/*
|
||||
* default sourcelist: `files'
|
||||
|
Loading…
x
Reference in New Issue
Block a user