mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-08 08:48:39 +09:00
MoonchildProductions#1251 - Part 4: Core build system changes, lots of libevent/IPC junk.
This is mostly ifdefs, but as you can see, Solaris is actually a lot like Linux. They're both more SysV than BSD at core, and most of the differences have more to do with Solaris not using glibc than anything else. I still need to audit a lot of these changes and understand why they're needed and what the alternative approaches are. After this patch, most of the core functionality needed to build Solaris is here.
This commit is contained in:
parent
c54b1f4ea0
commit
afb2e3a054
38 changed files with 682 additions and 32 deletions
|
|
@ -187,6 +187,15 @@ GfxInfo::GetData()
|
|||
note.AppendLiteral(" -- texture_from_pixmap");
|
||||
note.Append('\n');
|
||||
|
||||
// illumos/Solaris 10 libc lacks a strcasestr function, but NSPR has
|
||||
// one. A lot of programs just implement one on the spot or use strstr
|
||||
// and a buffer as some kind of workaround. They've been implementing
|
||||
// missing functions lately, though, so this may not be needed much longer.
|
||||
|
||||
#if defined(XP_SOLARIS)
|
||||
#define strcasestr PL_strcasestr
|
||||
#endif
|
||||
|
||||
// determine the major OpenGL version. That's the first integer in the version string.
|
||||
mGLMajorVersion = strtol(mVersion.get(), 0, 10);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue