<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Add missing time.h to some headers"
href="https://bugs.freedesktop.org/show_bug.cgi?id=105766#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Add missing time.h to some headers"
href="https://bugs.freedesktop.org/show_bug.cgi?id=105766">bug 105766</a>
from <span class="vcard"><a class="email" href="mailto:mojca@macports.org" title="Mojca Miklavec <mojca@macports.org>"> <span class="fn">Mojca Miklavec</span></a>
</span></b>
<pre>Thank you.
The #ifdef MACOS is in fact used all over the place and I have absolutely no
clue what it does. It could be that some ancient version of xpdf would add that
definition somehow to help compilation on super old systems. See
<a href="https://sourceforge.net/p/predef/wiki/OperatingSystems/">https://sourceforge.net/p/predef/wiki/OperatingSystems/</a> for existing
definitions. Even if MACOS was defined on version Mac OS 8 or 9 (which probably
wasn't the case), this would not really help anyone.
Poppler can only be compiled on a relatively new macOS version (10.9 or newer
out of the box, potentially on older ones with a lot of additional effort, but
I bet nobody would dare to compile it on 10.3). I see there are some parts of
the code related to different newline character (CR instead of LF). See
<a href="https://superuser.com/a/439443">https://superuser.com/a/439443</a>
I bet that any code doing #ifdef MACOS can be removed without doing any harm
whatsoever. But sure, a separate commit makes sense.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>