netatalk
4.6.0
Free and Open Source Apple Filing Protocol (AFP) Server
Toggle main menu visibility
Loading...
Searching...
No Matches
bstrlib_compat.h
Go to the documentation of this file.
1
/*
2
* Compatibility wrapper for bstring.
3
*
4
* illumos declares a legacy bgets() function in libgen.h with a signature
5
* that conflicts with bstring's bgets(). Netatalk does not use bstring's
6
* bgets(), so hide that declaration while processing the system header.
7
*/
8
9
#ifndef ATALK_BSTRLIB_COMPAT_H
10
#define ATALK_BSTRLIB_COMPAT_H 1
11
12
#ifdef __sun
13
#define bgets netatalk_unused_bstring_bgets
14
#endif
15
16
#include <
bstrlib.h
>
17
18
#ifdef __sun
19
#undef bgets
20
#endif
21
22
#endif
/* ATALK_BSTRLIB_COMPAT_H */
bstrlib.h
C implementaion of bstring functions.
include
atalk
bstrlib_compat.h
Generated by
1.18.0