mirror of
https://github.com/fltk/fltk.git
synced 2026-05-22 23:37:02 +08:00
Removed autoconf/configure and CMake tests and defines for
unused function strtoll() [resolves one part of STR #2965]. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9923 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
CHANGES IN FLTK 1.3.3
|
||||
|
||||
- Removed autoconf/configure and CMake tests and defines for
|
||||
unused function strtoll().
|
||||
- Fixed access of protected member (STR #2903)
|
||||
- Implemented support for the Mac OS text input system that deals with character composition
|
||||
and input of languages with large character sets (e.g., Chinese and Japanese). This
|
||||
|
||||
@@ -179,7 +179,6 @@ CHECK_FUNCTION_EXISTS(strcasecmp HAVE_STRCASECMP)
|
||||
|
||||
CHECK_FUNCTION_EXISTS(strlcat HAVE_STRLCAT)
|
||||
CHECK_FUNCTION_EXISTS(strlcpy HAVE_STRLCPY)
|
||||
CHECK_FUNCTION_EXISTS(strtoll HAVE_STRTOLL)
|
||||
CHECK_FUNCTION_EXISTS(vsnprintf HAVE_VSNPRINTF)
|
||||
|
||||
set(CMAKE_REQUIRED_LIBRARIES)
|
||||
|
||||
@@ -292,16 +292,6 @@
|
||||
# define FLTK_LLCAST (long)
|
||||
#endif /* HAVE_LONG_LONG */
|
||||
|
||||
/*
|
||||
* Do we have the strtoll() function?
|
||||
*/
|
||||
|
||||
#cmakedefine HAVE_STRTOLL @HAVE_STRTOLL@
|
||||
|
||||
#ifndef HAVE_STRTOLL
|
||||
# define strtoll(nptr,endptr,base) strtol((nptr), (endptr), (base))
|
||||
#endif /* !HAVE_STRTOLL */
|
||||
|
||||
/*
|
||||
* Do we have the dlsym() function and header?
|
||||
*/
|
||||
|
||||
-10
@@ -297,16 +297,6 @@
|
||||
# define FLTK_LLCAST (long)
|
||||
#endif /* HAVE_LONG_LONG */
|
||||
|
||||
/*
|
||||
* Do we have the strtoll() function?
|
||||
*/
|
||||
|
||||
#undef HAVE_STRTOLL
|
||||
|
||||
#ifndef HAVE_STRTOLL
|
||||
# define strtoll(nptr,endptr,base) strtol((nptr), (endptr), (base))
|
||||
#endif /* !HAVE_STRTOLL */
|
||||
|
||||
/*
|
||||
* Do we have the dlsym() function and header?
|
||||
*/
|
||||
|
||||
@@ -587,8 +587,6 @@ if test $ac_cv_c_long_long = yes; then
|
||||
AC_DEFINE(HAVE_LONG_LONG)
|
||||
fi
|
||||
|
||||
AC_CHECK_FUNC(strtoll, AC_DEFINE(HAVE_STRTOLL))
|
||||
|
||||
dnl Check for dlopen/dlsym...
|
||||
AC_SEARCH_LIBS(dlsym, dl, AC_DEFINE(HAVE_DLSYM))
|
||||
AC_CHECK_HEADER(dlfcn.h, AC_DEFINE(HAVE_DLFCN_H))
|
||||
|
||||
Reference in New Issue
Block a user