On 06/19/2018 02:56 PM, Matthew R. Trower wrote:
DtMail attempts to detect whether the non-standard strcasestr() is
available, and defines it if it is not. Unfortunately, the detection
code is imperfect. Fortunately, we can make it a class method to avoid
collision even if it does exist.
I offer a choice of two patches here. The first patch removes Sun from
the detection code, allowing compilation on OpenSolaris, but retaining
the system strcasestr() on some systems. The second patch removes the
detection code entirely, always using the in-house implementation.
I used the first patch. The second one failed for fbsd/clang (static
definition should only be in class definition, not function definition).
Gcc didn't complain. At anyrate, applied to master. Thanks!
-jon
[...]
--
Jon Trulson
"Fire all weapons and open a hailing frequency for my victory yodle."
- Zapp Brannigan
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
cdesktopenv-devel mailing list
cdesktopenv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel