mirror of
https://github.com/MariaDB/server.git
synced 2026-05-10 17:14:30 +02:00
Fix AIX error during compile in my_handler (pointer to data is used, while pointer to function is expected).
This also has generated warnings on all other platforms
This commit is contained in:
parent
0d8b633ad9
commit
3db12ce6b6
2 changed files with 10 additions and 6 deletions
|
|
@ -285,11 +285,11 @@ IF(UNIX)
|
|||
MY_SEARCH_LIBS(__infinity m LIBM)
|
||||
ENDIF()
|
||||
|
||||
IF(CMAKE_SYSTEM_NAME MATCHES "SunOS")
|
||||
# On Solaris, use of intrinsics will screw the lib search logic
|
||||
# Force using -lm, so rint etc are found.
|
||||
SET(LIBM m)
|
||||
ENDIF()
|
||||
IF(CMAKE_SYSTEM_NAME MATCHES "SunOS")
|
||||
# On Solaris, use of intrinsics will screw the lib search logic
|
||||
# Force using -lm, so rint etc are found.
|
||||
SET(LIBM m)
|
||||
ENDIF()
|
||||
|
||||
MY_SEARCH_LIBS(gethostbyname_r "nsl_r;nsl" LIBNSL)
|
||||
MY_SEARCH_LIBS(bind "bind;socket" LIBBIND)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue