[CONC-38] HAVE_GETHOSTBYNAME_R_GLIBC2_STYLE hardcoded in include/my_config.h.in Created: 2013-07-18 Updated: 2013-07-22 Resolved: 2013-07-22 |
|
| Status: | Closed |
| Project: | MariaDB Connector/C |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major |
| Reporter: | Henrik Grubbström | Assignee: | Georg Richter |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
$ uname -a |
||
| Attachments: |
|
| Description |
|
Solaris has a gethostbyname_r(3NSL) that actually has the Solaris API (surprise!), so there's no need for the code that emulates it. The GLIBC2-wrapper breaks the build. Since I'm not used to cmake, I've opted to using the operating system macro _sun_ instead of writing a proper API detection test. As before the attached bundle also contains the patches for |
| Comments |
| Comment by Georg Richter [ 2013-07-22 ] |
|
Fixed in rev. 72 |