[MDEV-106] my_gethwaddr() does not compile on Solaris 11 Created: 2012-01-22 Updated: 2012-01-23 Resolved: 2012-01-23 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Fix Version/s: | 5.5.20, 5.3.4, 5.2.11 |
| Type: | Task | Priority: | Major |
| Reporter: | Vladislav Vaintroub | Assignee: | Sergei Golubchik |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
compiler complains that struct ifreq does not contain member ifr_hwaddr. #ifdef SIOCGIFHWADDR I can reproduce the compile error with both Solaris 11 Express and non-express editions installed in a VM, I do not have a clue how this could work on buildbot. |
| Comments |
| Comment by Vladislav Vaintroub [ 2012-01-22 ] |
|
A possible fix could be to replace #ifdef SIOCGIFHWADDR with #fdef _linux_ |